"============== " Key Bindings "============== " Leader key let mapleader = ' ' let g:move_key_modifier = 'A' "~~~~~~~~~~~~~~~~~ " File Management "~~~~~~~~~~~~~~~~~ " fzf nmap f :Files nmap fg :GFiles "~~~~~~~~~ " Linters "~~~~~~~~~ " Deletes all trailing whitespaces noremap c :%s/\s\+$//e " Enable/disable deoplete map d :call deoplete#toggle() " 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 "~~~~~~~ " 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