vim mappings for easier left / right navigation
This commit is contained in:
parent
06d6cff7e1
commit
194955ab3d
1 changed files with 8 additions and 2 deletions
10
vimrc
10
vimrc
|
@ -34,8 +34,14 @@ autocmd FileType python setlocal sts=4 sw=4 expandtab
|
|||
|
||||
" maps
|
||||
nmap <Space> <C-W>
|
||||
nmap j gj
|
||||
nmap k gk
|
||||
nnoremap h <BS>
|
||||
nnoremap j gj
|
||||
nnoremap k gk
|
||||
nnoremap l <Space>
|
||||
vnoremap h <BS>
|
||||
vnoremap j gj
|
||||
vnoremap k gk
|
||||
vnoremap l <Space>
|
||||
|
||||
" still have to deal with old vim versions :<
|
||||
if v:version >= 703
|
||||
|
|
Loading…
Reference in a new issue