<commit_before>if exists('g:vundle_installing_plugins')
  Plugin 'christoomey/vim-tmux-navigator'
  finish
endif

let g:tmux_navigator_no_mappings = 1

nnoremap <silent> <M-h> :TmuxNavigateLeft<cr>
nnoremap <silent> <M-j> :TmuxNavigateDown<cr>
nnoremap <silent> <M-k> :TmuxNavigateUp<cr>
nnoremap <silent> <M-l> :TmuxNavigateRight<cr>

if has('nvim')
  " Terminal mappings
  tnoremap <silent> <M-h> <c-\><c-n>:TmuxNavigateLeft<cr>
  tnoremap <silent> <M-j> <c-\><c-n>:TmuxNavigateDown<cr>
  tnoremap <silent> <M-k> <c-\><c-n>:TmuxNavigateUp<cr>
  tnoremap <silent> <M-l> <c-\><c-n>:TmuxNavigateRight<cr>
end<commit_msg>feat: autosave file when switching panes<commit_after>if exists('g:vundle_installing_plugins')
  Plugin 'christoomey/vim-tmux-navigator'
  finish
endif

let g:tmux_navigator_no_mappings = 1
let g:tmux_navigator_save_on_switch = 1

nnoremap <silent> <M-h> :TmuxNavigateLeft<cr>
nnoremap <silent> <M-j> :TmuxNavigateDown<cr>
nnoremap <silent> <M-k> :TmuxNavigateUp<cr>
nnoremap <silent> <M-l> :TmuxNavigateRight<cr>

if has('nvim')
  " Terminal mappings
  tnoremap <silent> <M-h> <c-\><c-n>:TmuxNavigateLeft<cr>
  tnoremap <silent> <M-j> <c-\><c-n>:TmuxNavigateDown<cr>
  tnoremap <silent> <M-k> <c-\><c-n>:TmuxNavigateUp<cr>
  tnoremap <silent> <M-l> <c-\><c-n>:TmuxNavigateRight<cr>
end
{'fraction_non_alphanumeric': 0.1739463601532567, 'fraction_numerical': 0.0022988505747126436, 'mean_word_length': 6.0978260869565215, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '2256147', 'n_tokens_mistral': 616, 'n_tokens_neox': 594, 'n_words': 99}