<commit_before>" Define prefix dictionary
let g:spacevim#plug#leaderGuide#lmap =  {}

for s:i in range(1, 9)
    let g:spacevim#plug#leaderGuide#lmap[s:i] = [ s:i.'wincmd w', 'windows '.s:i ]
endfor
let g:spacevim#plug#leaderGuide#lmap['?'] = [ 'Maps', 'show keybindings' ]
let g:spacevim#plug#leaderGuide#lmap[';'] = [ 'call feedkeys("\<Plug>NERDCommenterComment")','Commenter']
let g:spacevim#plug#leaderGuide#lmap[' '] = [ 'call feedkeys("\<Plug>easymotion-prefix")', 'easymotion-prefix' ]
let g:spacevim#plug#leaderGuide#lmap['a'] = {
      \ 'name' : '+align',
      \ }
let g:spacevim#plug#leaderGuide#lmap['b'] = {
      \ 'name' : '+buffer',
      \ '1' : ['b1', 'buffer 1'],
      \ '2' : ['b2', 'buffer 2'],
      \ '3' : ['b3', 'buffer 3'],
      \ '4' : ['b4', 'buffer 4'],
      \ '5' : ['b5', 'buffer 5'],
      \ '6' : ['b6', 'buffer 6'],
      \ '7' : ['b7', 'buffer 7'],
      \ '8' : ['b8', 'buffer 8'],
      \ '9' : ['b9', 'buffer 9'],
      \ 'd' : ['bd', 'delete-buffer'],
      \ 'f' : ['bfirst', 'first-buffer'],
      \ 'h' : ['Startify', 'home-buffer'],
      \ 'k' : ['bw', 'kill-buffer'],
      \ 'l' : ['blast', 'last-buffer'],
      \ 'n' : ['bnext', 'next-buffer'],
      \ 'p' : ['bprevious', 'previous-buffer'],
      \ 'b' : ['Buffers', 'fzf-buffer'],
      \ '?' : ['Buffers', 'fzf-buffer'],
      \ }
if spacevim#load('cscope')
  let g:spacevim#plug#leaderGuide#lmap['c'] = {
        \ 'name' : '+cscope',
        \ 's' : ['call spacevim#vim#cscope#Find("symbol")', 'find-this-symbol'],
        \ 'g' : ['call spacevim#vim#cscope#Find("global")', 'global-definition'],
        \ 'c' : ['call spacevim#vim#cscope#Find("calls")', 'find-functions-calling-this-function'],
        \ 't' : ['call spacevim#vim#cscope#Find("text")', 'text'],
        \ 'e' : ['call spacevim#vim#cscope#Find("egrep")', 'egrep'],
        \ 'f' : ['call spacevim#vim#cscope#Find("file")', 'find-this-file'],
        \ 'i' : ['call spacevim#vim#cscope#Find("includes")', 'find-files-#include-this-file'],
        \ 'd' : ['call spacevim#vim#cscope#Find("called")', 'find-functions-called-by-this-function'],
        \ }
endif
let g:spacevim#plug#leaderGuide#lmap['d'] = [ 'call feedkeys("\<C-d>")', 'scroll-down' ]
let g:spacevim#plug#leaderGuide#lmap['e'] = {
      \ 'name' : '+errors',
      \ 'n' : ['call feedkeys("\<Plug>(ale_next)")', 'next-error'],
      \ 'p' : ['call feedkeys("\<Plug>(ale_previous)")', 'previous-error'],
      \ }
let g:spacevim#plug#leaderGuide#lmap['f'] = {
      \ 'name' : '+fold/files',
      \ }
let g:spacevim#plug#leaderGuide#lmap['g'] = {
      \ 'name' : '+git/version-control',
      \ 'b' : ['Gblame', 'fugitive-blame'],
      \ 'c' : ['Gcommit', 'fugitive-commit'],
      \ 'd' : ['Gdiff', 'fugitive-diff'],
      \ 'e' : ['Gedit', 'fugitive-edit'],
      \ 'l' : ['Glog', 'fugitive-log'],
      \ 'r' : ['Gread', 'fugitive-read'],
      \ 's' : ['Gstatus', 'fugitive-status'],
      \ 'w' : ['Gwrite', 'fugitive-write'],
      \ 'p' : ['Git push', 'fugitive-push'],
      \ 'y' : ['Goyo', 'goyo-mode'],
      \ }
let g:spacevim#plug#leaderGuide#lmap['h'] = {
      \ 'name' : '+help',
      \ }
let g:spacevim#plug#leaderGuide#lmap['j'] = {
      \ 'name' : '+jump',
      \ 'j' : ['call feedkeys("\<Plug>(easymotion-overwin-f)")', 'easymotion-goto-char'],
      \ 'J' : ['call feedkeys("\<Plug>(easymotion-overwin-f2)")', 'easymotion-goto-char-2'],<commit_msg>Polish leaderGuide<commit_after>" Define prefix dictionary
let g:spacevim#plug#leaderGuide#lmap =  {}

for s:i in range(1, 9)
    let g:spacevim#plug#leaderGuide#lmap[s:i] = [ s:i.'wincmd w', 'windows '.s:i ]
endfor
let g:spacevim#plug#leaderGuide#lmap['?'] = [ 'Maps', 'show keybindings' ]
let g:spacevim#plug#leaderGuide#lmap[';'] = [ 'call feedkeys("\<Plug>NERDCommenterComment")','Commenter']
let g:spacevim#plug#leaderGuide#lmap[' '] = [ 'call feedkeys("\<Plug>easymotion-prefix")', 'easymotion-prefix' ]
let g:spacevim#plug#leaderGuide#lmap['a'] = {
      \ 'name' : '+align',
      \ }
let g:spacevim#plug#leaderGuide#lmap['b'] = {
      \ 'name' : '+buffer',
      \ '1' : ['b1', 'buffer 1'],
      \ '2' : ['b2', 'buffer 2'],
      \ '3' : ['b3', 'buffer 3'],
      \ '4' : ['b4', 'buffer 4'],
      \ '5' : ['b5', 'buffer 5'],
      \ '6' : ['b6', 'buffer 6'],
      \ '7' : ['b7', 'buffer 7'],
      \ '8' : ['b8', 'buffer 8'],
      \ '9' : ['b9', 'buffer 9'],
      \ 'd' : ['bd', 'delete-buffer'],
      \ 'f' : ['bfirst', 'first-buffer'],
      \ 'h' : ['Startify', 'home-buffer'],
      \ 'k' : ['bw', 'kill-buffer'],
      \ 'l' : ['blast', 'last-buffer'],
      \ 'n' : ['bnext', 'next-buffer'],
      \ 'p' : ['bprevious', 'previous-buffer'],
      \ 'b' : ['Buffers', 'fzf-buffer'],
      \ '?' : ['Buffers', 'fzf-buffer'],
      \ }
if spacevim#load('cscope')
  let g:spacevim#plug#leaderGuide#lmap['c'] = {
        \ 'name' : '+cscope',
        \ 's' : ['call spacevim#vim#cscope#Find("symbol")', 'find-this-symbol'],
        \ 'g' : ['call spacevim#vim#cscope#Find("global")', 'global-definition'],
        \ 'c' : ['call spacevim#vim#cscope#Find("calls")', 'find-functions-calling-this-function'],
        \ 't' : ['call spacevim#vim#cscope#Find("text")', 'text'],
        \ 'e' : ['call spacevim#vim#cscope#Find("egrep")', 'egrep'],
        \ 'f' : ['call spacevim#vim#cscope#Find("file")', 'find-this-file'],
        \ 'i' : ['call spacevim#vim#cscope#Find("includes")', 'find-files-#include-this-file'],
        \ 'd' : ['call spacevim#vim#cscope#Find("called")', 'find-functions-called-by-this-function'],
        \ }
endif
let g:spacevim#plug#leaderGuide#lmap['d'] = [ 'call feedkeys("\<C-d>")', 'scroll-down' ]
let g:spacevim#plug#leaderGuide#lmap['e'] = {
      \ 'name' : '+errors',
      \ 'n' : ['call feedkeys("\<Plug>(ale_next)")', 'next-error'],
      \ 'p' : ['call feedkeys("\<Plug>(ale_previous)")', 'previous-error'],
      \ }
let g:spacevim#plug#leaderGuide#lmap['f'] = {
      \ 'name' : '+find/files/fold',
      \ '0' : ['set foldlevel=0', '0-fold-level'],
      \ '1' : ['set foldlevel=1', '1-fold-level'],
      \ '2' : ['set foldlevel=2', '2-fold-level'],
      \ '3' : ['set foldlevel=3', '3-fold-level'],
      \ '4' : ['set foldlevel=4', '4-fold-level'],
      \ '5' : ['set foldlevel=5', '5-fold-level'],
      \ '6' : ['set foldlevel=6', '6-fold-level'],
      \ '7' : ['set foldlevel=7', '7-fold-level'],
      \ '8' : ['set foldlevel=8', '8-fold-level'],
      \ '9' : ['set foldlevel=9', '9-fold-level'],
      \ 'b' : ['BLines', 'fzf-find-current-buffer'],
      \ 'd' : ['NERDTreeFind', 'find-current-buffer-in-NERDTree'],
      \ 'f' : ['Files ~', 'files-in-home-direcotry'],
      \ 's' : ['save', 'save-file'],
      \ 't' : ['NERDTreeToggle', 'toggle-NERDTree'],
      \ '?' : ['Files', 'files-in-current-direcotry'],
      \ 'R' : ['source $MYVIMRC', 'reload-vimrc'],
      \ }
let g:spacevim#plug#leaderGuide#lmap['g'] = {
      \ 'name' : '+git/version-control',
      \ 'b' : ['Gblame', 'fugitive-blame'],
      \ 'c' : ['Gcommit', 'fugitive-commit'],
      \ 'd' : ['Gdiff', 'fugitive-diff'],
      \ 'e' : ['Gedit', 'fugitive-edit'],
      \ 'l' : ['Glog', 'fugitive-log'],
      \ 'r' : ['Gread', 'fugitive-read'],
      \ 's' : ['Gstatus', 'fugitive-status'],
      \ 'w' : ['Gwrite', 'fugitive-write'],
      \ 'p' : ['Git push', 'fugitive-push'],
      \ 'y' : ['Goyo', 'goyo-mode'],
      \ }
let g:spacevim#plug#leaderGuide#lmap['h'] = {
      \ 'name' : '+help',
      \ }
let g:spacevim#plug#leaderGuide#lmap['j'] = {
      \ 'name' : '+jump',
      \ 'j' : ['call feedkeys("\<Plug>(easymotion-overwin-f)")', 'easymotion-goto-char'],
      \ 'J' : ['call feedkeys("\<Plug>(easymotion-overwin-f2)")', 'easymotion-goto-char-2'],
{'fraction_non_alphanumeric': 0.26956972524624156, 'fraction_numerical': 0.011923276308968377, 'mean_word_length': 3.017178552837064, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5703678', 'n_tokens_mistral': 3218, 'n_tokens_neox': 3031, 'n_words': 487}