easier window shift
This commit is contained in:
parent
423ea1587f
commit
7d9f6f5e24
1 changed files with 10 additions and 1 deletions
11
.vimrc
11
.vimrc
|
|
@ -201,7 +201,7 @@ set statusline+=\ %P "percent through file
|
|||
|
||||
" ** SMALL FUNCTIONS THAT DON'T FIT AS PLUGINS ***
|
||||
|
||||
" Add capital W so I can be lazy about my shift jey
|
||||
" Add capital W so I can be lazy about my shift key
|
||||
if !exists(":W")
|
||||
command W :w
|
||||
endif
|
||||
|
|
@ -376,6 +376,15 @@ xnoremap <C-e> $
|
|||
inoremap <C-a> <C-O>^
|
||||
inoremap <C-e> <C-O>$
|
||||
|
||||
nnoremap <C-j> <C-w>j
|
||||
nnoremap <C-k> <C-w>k
|
||||
nnoremap <C-l> <C-w>l
|
||||
nnoremap <C-h> <C-w>h
|
||||
inoremap <C-j> <C-w>j
|
||||
inoremap <C-k> <C-w>k
|
||||
inoremap <C-l> <C-w>l
|
||||
inoremap <C-h> <C-w>h
|
||||
|
||||
" Better fold mappings
|
||||
nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR>
|
||||
vnoremap <Space> zf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue