change keymap
This commit is contained in:
parent
2cb073a57d
commit
a361336a9c
2 changed files with 6 additions and 1 deletions
|
@ -197,6 +197,7 @@ set tw=500
|
||||||
set ai "Auto indent
|
set ai "Auto indent
|
||||||
set si "Smart indent
|
set si "Smart indent
|
||||||
set wrap "Wrap lines
|
set wrap "Wrap lines
|
||||||
|
set nu
|
||||||
|
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""
|
||||||
|
@ -228,6 +229,10 @@ map <C-k> <C-W>k
|
||||||
map <C-h> <C-W>h
|
map <C-h> <C-W>h
|
||||||
map <C-l> <C-W>l
|
map <C-l> <C-W>l
|
||||||
|
|
||||||
|
" Go to home and end using capitalized directions
|
||||||
|
noremap H ^
|
||||||
|
noremap L $
|
||||||
|
|
||||||
" Close the current buffer
|
" Close the current buffer
|
||||||
map <leader>bd :Bclose<cr>
|
map <leader>bd :Bclose<cr>
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ set grepprg=/bin/grep\ -nH
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => Nerd Tree
|
" => Nerd Tree
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
let g:NERDTreeWinPos = "right"
|
let g:NERDTreeWinPos = "left"
|
||||||
let NERDTreeIgnore = ['\.pyc$']
|
let NERDTreeIgnore = ['\.pyc$']
|
||||||
let g:NERDTreeWinSize=35
|
let g:NERDTreeWinSize=35
|
||||||
map <leader>nn :NERDTreeToggle<cr>
|
map <leader>nn :NERDTreeToggle<cr>
|
||||||
|
|
Loading…
Reference in a new issue