"============== " Key Bindings "============== " Leader key let mapleader = ' ' " Show git commit list map gv :GV " enable/disable deoplete map d :call deoplete#toggle() " gitgutter maping map gt :GitGutterToggle nmap gn (GitGutterNextHunk) nmap gN (GitGutterPrevHunk) nmap gs (GitGutterStageHunk) nmap gu (GitGutterUndoHunk) nmap gp (GitGutterPreviewHunk) " Disable hlsearch map :noh " Go to last change map l :'. " Complete with " inoremap pumvisible()?"\":"\" " inoremap pumvisible()?"\":"\" " When line overflows, it will go " one _visual_ line and not actual map j gj map k gk " fzf, fuzzy finder map f :Files map fg :GFiles let g:fzf_action = { \ 'ctrl-t': 'tab split', \ 'ctrl-x': 'split', \ 'ctrl-v': 'vsplit' } " vifm map r :Vifm " deletes all trailing whitespace noremap c :%s/\s\+$//e " imap (fzf-complete-word) " imap (fzf-complete-path) " imap (fzf-complete-file-ag) " imap (fzf-complete-line) map :NERDTreeToggle " SuperTab let g:SuperTabMappingTabLiteral = '' let g:SuperTabDefaultCompletionType = 'context' let g:SuperTabContextDefaultCompletionType = '' " LaTeX map l :LLPStartPreview " ALE - Asynchronous Lint Engine map fw :FixWhitespace map af :ALEFix map an :ALENext map aN :ALEPrevious map ad :ALEDetail map ag :ALEGoToDefinitionInSplit map aG :ALEGoToDefinition " Tab Managment map :tabnew map :tabclose nnoremap gt nnoremap gT " Split Managment nnoremap nnoremap nnoremap nnoremap " Spell-check (English US and Polish) map :setlocal spell! spelllang=en_us map :setlocal spell! spelllang=pl " Sudo read-only file cnoremap sudow w !sudo tee % >/dev/null " Open terminal noremap :split term://zsh:resize 10 " Exit from terminal mode tnoremap " UltiSnips let g:UltiSnipsExpandTrigger='' let g:UltiSnipsJumpForwardTrigger='' let g:UltiSnipsJumpBackwardTrigger='' let g:UltiSnipsListSnippets=''