From 9c6e2866428e89f26b79afef410397346b7a2b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Wed, 28 May 2014 09:58:02 +0200 Subject: Navigate up and down in long lines (gj and gk instead of j and k) --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 439cbb5..d22dfa2 100644 --- a/.vimrc +++ b/.vimrc @@ -127,6 +127,10 @@ map :bp map :set textwidth=80 map :set textwidth=0 +"navigate up and down in long lines splitted by :set wrap +:map k gk +:map j gj + "esc boost inoremap kj inoremap KJ -- cgit v1.2.3