Skip to content

Commit

Permalink
Merge pull request spf13#299 from jamestomasino/easyWindows
Browse files Browse the repository at this point in the history
Add option to skip window navigation mappings and keep digraph key
  • Loading branch information
spf13 committed Feb 19, 2013
2 parents 3b3bdab + 182afa3 commit fc79e6e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,16 @@
endif

" Easier moving in tabs and windows
map <C-J> <C-W>j<C-W>_
map <C-K> <C-W>k<C-W>_
map <C-L> <C-W>l<C-W>_
map <C-H> <C-W>h<C-W>_
" The lines conflict with the default digraph mapping of <C-K>
" If you prefer that functionality, add let g:spf13_no_easyWindows = 1
" in your .vimrc.bundles.local file

if !exists('g:spf13_no_easyWindows')
map <C-J> <C-W>j<C-W>_
map <C-K> <C-W>k<C-W>_
map <C-L> <C-W>l<C-W>_
map <C-H> <C-W>h<C-W>_
endif

" Wrapped lines goes down/up to next row, rather than next line in file.
nnoremap j gj
Expand Down

0 comments on commit fc79e6e

Please sign in to comment.