From 643f5dad1083f47d15fb55a0d40546cbe4905665 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 10 May 2020 23:52:25 +0800 Subject: [PATCH] remove arrow key nope mapping. Now I am familiar with h,j,k,l, I do not need to force myself to use them. --- mappings.vim | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/mappings.vim b/mappings.vim index 62c118d..5a7bded 100644 --- a/mappings.vim +++ b/mappings.vim @@ -50,16 +50,6 @@ nnoremap \d :bprevious bdelete # " Toggle search highlight, see https://stackoverflow.com/a/26504944/6064933 nnoremap hl (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n" -" Disable arrow key in vim, see https://superuser.com/q/599150/736190 -nnoremap -nnoremap -nnoremap -nnoremap -inoremap -inoremap -inoremap -inoremap - " Insert a blank line below or above current line (do not move the cursor), " see https://stackoverflow.com/a/16136133/6064933 nnoremap oo 'm`' . v:count1 . 'o``'