diff options
author | Hugues Hiegel <hugues.hiegel@anevia.com> | 2016-02-16 11:11:28 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@anevia.com> | 2016-02-16 11:11:28 +0100 |
commit | 4ac618d602c63ae0039ab83de1a0c367bc857502 (patch) | |
tree | ce3d5c1c8018f4c8ea5553b2cc2003dfc51ff4e7 | |
parent | fc113debd3789e97980b9d446c71bb7a34b4b145 (diff) |
[keys] swaped j/k with gj/gk
I rather like moving through visual lines instead real ones
(this is effective only if “wrap” is set,
on long lines split across multiple ones)
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -116,6 +116,10 @@ noremap <C-j> <C-e> set nowrap noremap <C-l> z2l noremap <C-h> z2h +noremap j gj +noremap k gk +noremap gj j +noremap gk k "Macros nmap <F2> :set invet<CR> |