"============== " Key Bindings "============== " Leader key let mapleader = "\" let g:move_key_modifier = 'A' " Enable/disable autopairs nmap ap :CloseTagToggleBuffer:echo "Auto closing HTML tags toggled." " Enable/disable deoplete nmap d :call deoplete#toggle():echo "Deoplete toggled." "~~~~~~~~~~~~~~~~~ " File Management "~~~~~~~~~~~~~~~~~ " fzf nnoremap f :Files nnoremap F :Files ~ "~~~~~~~~~ " Linters "~~~~~~~~~ " Deletes all trailing whitespaces noremap c :%s/\s\+$//e " ALE map fw :FixWhitespace map af :ALEFix map an :ALENext map aN :ALEPrevious map ad :ALEDetail map ag :ALEGoToDefinitionInSplit map aG :ALEGoToDefinition " Spell-check (English US and Polish) map :setlocal spell! spelllang=en_us map :setlocal spell! spelllang=pl "~~~~~~~~~~~~~~~~~~ " Window Managment "~~~~~~~~~~~~~~~~~~ " Tab Managment map :tabnew map :tabclose nnoremap gt nnoremap gT " Open terminal noremap :split term://zsh:resize 10 " Exit from terminal mode tnoremap " Split management nnoremap nnoremap nnoremap nnoremap "~~~~~~~ " Other "~~~~~~~ " Disable hlsearch map :noh " Go to last change map l :'. map j gj map k gk " SuperTab let g:SuperTabMappingTabLiteral = '' let g:SuperTabDefaultCompletionType = 'context' let g:SuperTabContextDefaultCompletionType = '' " neosnippets smap neosnippet#expandable_or_jumpable() ? \ "\(neosnippet_expand_or_jump)" : "\" imap (neosnippet_expand_or_jump) smap (neosnippet_expand_or_jump) xmap (neosnippet_expand_target) " substitute nnoremap S :%s//g