From 881d274080d31595c65c55236bb15b75f8033934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Tue, 7 Mar 2017 01:52:21 +0100 Subject: [PATCH] Change vim key mappings a bit --- files/.vimrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/files/.vimrc b/files/.vimrc index a463f65..a951943 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -105,12 +105,12 @@ match ExtraWhitespace /\s\+$\| \+\ze\t/ autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ """"""""""""""""" Key bindings -map :w:!make -imap :echo 'F1 help disabled' -map :!git status -map [[ :lprev -map ]] :lnext -map [] :ll +nnoremap :w:!make +inoremap :echo 'F1 help disabled' +nnoremap :!git status +nnoremap __ :lprev +nnoremap ++ :lnext +nnoremap _+ :ll nnoremap w :call TrimWhitespace() nnoremap K i