From eb57109565907211c042fb6df89096c9d9809700 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 4 Jun 2019 13:28:15 +0200 Subject: [PATCH] Add abbreviations and quote surround to vimrc --- .config/nvim/init.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index e79f8df..3ee22fa 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -344,6 +344,29 @@ nnoremap Q vapJgqap " Enter distraction free prose mode with F11 noremap :Goyo +" surround stuff with quotes, from normal or visual mode +nnoremap " viwa"bi"lel +vnoremap " ``>la"l + +" stronger versions of left,right - move all the way +nnoremap H ^ +nnoremap L $ + +" }}} +" ABBREVIATIONS {{{ + +" Typos +iabbrev adn and +iabbrev waht what +iabbrev tehn then +iabbrev whit with +iabbrev whith with + +" Text expansion +iabbrev @@ marty.oehme@gmail.com +iabbrev ccopy Copyright 2019 Marty Oehme, all rights reserved. + +" " }}} " END " ================================================================================