summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 439cbb5..d22dfa2 100644
--- a/.vimrc
+++ b/.vimrc
@@ -127,6 +127,10 @@ map <S-Space> :bp<cr>
map <F12> :set textwidth=80<cr>
map <S-F12> :set textwidth=0<cr>
+"navigate up and down in long lines splitted by :set wrap
+:map k gk
+:map j gj
+
"esc boost
inoremap kj <ESC>
inoremap KJ <ESC>