diff options
author | Teddy Wing | 2014-04-25 22:29:58 -0400 |
---|---|---|
committer | Teddy Wing | 2014-04-25 22:29:58 -0400 |
commit | 0a8b39634bc8588b9be53528a286d1b1088f5480 (patch) | |
tree | feabf48aa5a477af26f71847e2d4777e9150052c | |
parent | 2a4a0b3e6e0e6b2f8faaf9f9b1a1748b7639d8aa (diff) | |
download | dotvim-0a8b39634bc8588b9be53528a286d1b1088f5480.tar.bz2 |
vimrc: map gj to j and gk to k
Gives us access to skip wrapped lines since we mapped the inverse
direction before and as such there was no way to do this. Consider
this a power user version of up and down. I think this mapping is
more intuitive.
-rw-r--r-- | vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -81,6 +81,7 @@ " " 2014.04.25: " * Map <leader>/ to clear search highlighting +" * Map gj -> j and gk -> k so we can still skip wrapped lines if we want " @@ -282,6 +283,8 @@ vnoremap <leader>] >gv " Allow easy moving to wrapped lines nnoremap j gj nnoremap k gk +nnoremap gj j +nnoremap gk k " Easier buffer switching nnoremap <leader>bl :ls<cr> |