add new some new remaps

This commit is contained in:
Jidbo 2018-11-21 16:01:41 +01:00
parent ceb5dc6a59
commit f1559fad9e

8
.vimrc
View file

@ -106,6 +106,11 @@ nnoremap <leader>k <C-W><C-K>
nnoremap <leader>l <C-W><C-L>
nnoremap <leader>h <C-W><C-H>
" tabs
nnoremap <leader>t :tabnew<CR>
nnoremap <leader>u gT
nnoremap <leader>i gt
" Enable folding
set foldmethod=indent
set foldlevel=99
@ -124,6 +129,9 @@ au BufNewFile,BufRead *.js, *.html, *.css
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree
map <leader>n :NERDTreeToggle<CR>
" ctrl-p setup
let g:ctrlp_working_path_mode = 'ra'
" see docstrings for folded code
let g:SimpylFold_docstring_preview=1