From 4e90ddc0d8e2e28be88c122c8cf31e2e88daf179 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Tue, 30 Oct 2018 14:30:53 +0100 Subject: [PATCH] move some keymappings to use leader, switch leader to space --- .vimrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.vimrc b/.vimrc index 1062a9f..71e4e53 100644 --- a/.vimrc +++ b/.vimrc @@ -51,6 +51,7 @@ syntax on colorscheme Benokai let g:airline_theme='luna' let python_highlight_all=1 +let mapleader=" " set number set clipboard=unnamed @@ -68,21 +69,20 @@ set splitbelow set splitright "split navigations -nnoremap -nnoremap -nnoremap -nnoremap +nnoremap j +nnoremap k +nnoremap l +nnoremap h " Enable folding set foldmethod=indent set foldlevel=99 " remap code folding -nnoremap za +nnoremap f za " see docstrings for folded code let g:SimpylFold_docstring_preview=1 - " html css js indents au BufNewFile,BufRead *.js, *.html, *.css \ set tabstop=2 | @@ -95,7 +95,7 @@ map g :YcmCompleter GoToDefinitionElseDeclaration " nerd tree setup let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree -map :NERDTreeToggle +map n :NERDTreeToggle " airline tabs let g:airline#extensions#tabline#enabled = 1