1
0
Fork 0

vim mappings for easier left / right navigation

This commit is contained in:
Von Random 2014-11-18 09:12:57 +03:00
parent 06d6cff7e1
commit 194955ab3d

10
vimrc
View file

@ -34,8 +34,14 @@ autocmd FileType python setlocal sts=4 sw=4 expandtab
" maps " maps
nmap <Space> <C-W> nmap <Space> <C-W>
nmap j gj nnoremap h <BS>
nmap k gk 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 :< " still have to deal with old vim versions :<
if v:version >= 703 if v:version >= 703