From d2fb1a0af994162971379eb3ee9e02ec0ec7249d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 17 May 2008 16:47:50 +0100 Subject: [PATCH] navigate wrapped lines properly --- .vimrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 5a174bd..369851e 100644 --- a/.vimrc +++ b/.vimrc @@ -1467,10 +1467,12 @@ let s:cpo_save=&cpo set cpo&vim " treat wrapped lines normally -map k gk -map gk -map j gj -map gj +nnoremap k gk +nnoremap gk +inoremap gk +nnoremap j gj +nnoremap gj +inoremap gj " this isn't windows, screw the F1->help key map -- 2.39.5