From aca7c2c2dbe33c132fa2a46b303f5353e2ae6f62 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Tue, 29 Mar 2016 10:48:54 +0200 Subject: [PATCH] add abbrevs for common typos --- vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vimrc b/vimrc index c0afe0f..300d69a 100644 --- a/vimrc +++ b/vimrc @@ -236,6 +236,18 @@ vnoremap 0 :!node nnoremap + nnoremap - +"" abbreviations +cnoreabbrev W! w! +cnoreabbrev Q! q! +cnoreabbrev Qall! qall! +cnoreabbrev Wq wq +cnoreabbrev Wa wa +cnoreabbrev wQ wq +cnoreabbrev WQ wq +cnoreabbrev W w +cnoreabbrev Q q +cnoreabbrev Qall qall + " session management nnoremap so :OpenSession nnoremap ss :SaveSession