add new some new remaps
This commit is contained in:
parent
ceb5dc6a59
commit
f1559fad9e
1 changed files with 8 additions and 0 deletions
8
.vimrc
8
.vimrc
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue