<commit_before>//
//  XVimKeyStroke.h
//  XVim
//
//  Created by <NAME> on 31/03/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#include "XVimDefs.h"


#define KS_MODIFIER 0xF8 // This value is not the same as Vim's one
// Following values are differed from Vim's definition in keymap.h
#define XVIM_MOD_SHIFT 0x02 //  1 << 1
#define XVIM_MOD_CTRL 0x04 //  1 << 2
#define XVIM_MOD_ALT 0x08 //  1 << 3
#define XVIM_MOD_CMD 0x10 //  1 << 4
#define XVIM_MOD_FUNC 0x80 //  1 << 7  // XVim Original

#define XVimMakeKeyCode(modifier, character) ((modifier << 16) | character)


@class XVimKeyStroke;
typedef uint32_t XVimKeyCode;
<commit_msg>clean<commit_after>//
//  XVimKeyStroke.h
//  XVim
//
//  Created by <NAME> on 31/03/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#include "XVimDefs.h"


#define KS_MODIFIER 0xF8 // This value is not the same as Vim's one
// Following values are differed from Vim's definition in keymap.h
typedef NS_OPTIONS(unsigned char, XVimModifier) {
    XVIM_MOD_SHIFT = 1 << 1,
    XVIM_MOD_CTRL = 1 << 2,
    XVIM_MOD_ALT = 1 << 3,
    XVIM_MOD_CMD = 1 << 4,
    XVIM_MOD_FUNC = 1 << 7  // XVim Original
};

#define XVimMakeKeyCode(modifier, character) ((modifier << 16) | character)


@class XVimKeyStroke;
typedef uint32_t XVimKeyCode;

{'fraction_non_alphanumeric': 0.12569832402234637, 'fraction_numerical': 0.0467877094972067, 'mean_word_length': 3.478125, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '892443', 'n_tokens_mistral': 614, 'n_tokens_neox': 543, 'n_words': 154}