<commit_before>" KEYS. Available ctrls for later use: <C-N>
" unusable: CTRL-[, CTRL-H, CTRL-M
" see `:help keycodes` and `:help map-which-keys`

" Make p in Visual mode replace the selected text with the "" register.
vnoremap    p           <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>

" mouse paste without auto indenting
nnoremap    \R          :r! cat<CR>

" Search keys
nnoremap    *           *N
nnoremap    <M-/>       /\c
nnoremap    \<Space>    /\t\+ \+\\| \+\t\+\\|\s\+$/<CR>
nnoremap    \\          /\<\><Left><Left>
nnoremap <silent>   \/  :nohlsearch<CR>

" General movement keys
noremap     <C-A>       <Home>
noremap     <C-E>       <End>

" Input keys
inoremap    <C-J>       <Down>
inoremap    <C-K>       <Up>
inoremap    <C-L>       <Right>

" Windows/Tabs
nnoremap    <C-W>a      :tabnew<Space>
nnoremap    <C-W>e      :e<CR>
nnoremap    <C-W>Q      :qa<CR>
nnoremap    <C-W>o      :Only<CR>
nnoremap    <C-W>u      <C-W>t<C-W>l
nnoremap    <C-W><Tab>  :tabnew<CR>
nnoremap    <C-W>x      :tabclose<CR>

" HUD keys
nnoremap    <C-S>       :update<CR>
nnoremap    <C-X>       :close<CR>
nnoremap    <C-P>       :FZF<CR>
nnoremap    <C-K>       :FZFMru<CR>
nnoremap    <C-G>       :echo expand('%:p')<CR>
nnoremap    <C-F>       :call ToggleLeft()<CR>
nnoremap    <C-N>       :NERDTreeFind<CR>
nnoremap    \n          :NERDTreeToggle<CR><commit_msg>added vim input mode map for <C-A> and <C-E> again, cause noremap is not enough<commit_after>" KEYS. Available ctrls for later use: <C-N>
" unusable: CTRL-[, CTRL-H, CTRL-M
" see `:help keycodes` and `:help map-which-keys`

" Make p in Visual mode replace the selected text with the "" register.
vnoremap    p           <Esc>:let current_reg = @"<CR>gvdi<C-R>=current_reg<CR><Esc>

" mouse paste without auto indenting
nnoremap    \R          :r! cat<CR>

" Search keys
nnoremap    *           *N
nnoremap    <M-/>       /\c
nnoremap    \<Space>    /\t\+ \+\\| \+\t\+\\|\s\+$/<CR>
nnoremap    \\          /\<\><Left><Left>
nnoremap <silent>   \/  :nohlsearch<CR>

" General movement keys
noremap     <C-A>       <Home>
noremap     <C-E>       <End>

" Input keys
inoremap    <C-A>       <Home>
inoremap    <C-E>       <End>
inoremap    <C-J>       <Down>
inoremap    <C-K>       <Up>
inoremap    <C-L>       <Right>

" Windows/Tabs
nnoremap    <C-W>a      :tabnew<Space>
nnoremap    <C-W>e      :e<CR>
nnoremap    <C-W>Q      :qa<CR>
nnoremap    <C-W>o      :Only<CR>
nnoremap    <C-W>u      <C-W>t<C-W>l
nnoremap    <C-W><Tab>  :tabnew<CR>
nnoremap    <C-W>x      :tabclose<CR>

" HUD keys
nnoremap    <C-S>       :update<CR>
nnoremap    <C-X>       :close<CR>
nnoremap    <C-P>       :FZF<CR>
nnoremap    <C-K>       :FZFMru<CR>
nnoremap    <C-G>       :echo expand('%:p')<CR>
nnoremap    <C-F>       :call ToggleLeft()<CR>
nnoremap    <C-N>       :NERDTreeFind<CR>
nnoremap    \n          :NERDTreeToggle<CR>
{'fraction_non_alphanumeric': 0.1696027633851468, 'fraction_numerical': 0.0, 'mean_word_length': 2.058078141499472, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '1028540', 'n_tokens_mistral': 1268, 'n_tokens_neox': 1237, 'n_words': 279}