From db35ce6048525376ee6b2b7a94471e4fbca367a7 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Fri, 22 Jan 2016 17:38:33 +0100 Subject: [PATCH] wrist pain --- inputrc | 4 ++-- vim/vimrc | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/inputrc b/inputrc index c086fbc..07c14db 100644 --- a/inputrc +++ b/inputrc @@ -1,5 +1,5 @@ -#set editing-mode vi -#set keymap vi +set editing-mode vi +set keymap vi-command set completion-ignore-case on #set completion-map-case on #set show-all-if-ambiguous on diff --git a/vim/vimrc b/vim/vimrc index b676e97..c7638ba 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -59,8 +59,13 @@ filetype plugin on filetype indent on noremap -imap kj -imap jk + + +"Wrist pain +inoremap kj + +"Will quickly get rid of the habit +inoremap :wq noremap j gj noremap k gk