Skip to content

Commit

Permalink
Restore wrapped line behavior to Vim default (e.g. n = gj is now n = j)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooize committed Mar 6, 2016
1 parent e031224 commit 6882195
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin/colemak.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
if v:version < 700 | echohl WarningMsg | echo "colemak.vim: You need Vim version 7.0 or later." | echohl None | finish | endif
" }}}
" Up/down/left/right {{{
" Always go down/up one line regardless of "set wrap". Is that a sane default?
nnoremap h h|xnoremap h h|onoremap h h|
nnoremap n gj|xnoremap n gj|onoremap n gj|
nnoremap e gk|xnoremap e gk|onoremap e gk|
nnoremap n j|xnoremap n j|onoremap n j|
nnoremap e k|xnoremap e k|onoremap e k|
nnoremap i l|xnoremap i l|onoremap i l|
" }}}
" Turbo navigation {{{
Expand Down

0 comments on commit 6882195

Please sign in to comment.