Add abbreviations and quote surround to vimrc
This commit is contained in:
parent
9153315a09
commit
eb57109565
1 changed files with 23 additions and 0 deletions
|
@ -344,6 +344,29 @@ nnoremap <silent> <leader>Q vapJgqap
|
||||||
" Enter distraction free prose mode with F11
|
" Enter distraction free prose mode with F11
|
||||||
noremap <F11> :Goyo<CR>
|
noremap <F11> :Goyo<CR>
|
||||||
|
|
||||||
|
" surround stuff with quotes, from normal or visual mode
|
||||||
|
nnoremap <leader>" viw<esc>a"<esc>bi"<esc>lel
|
||||||
|
vnoremap <leader>" <esc>`<i"<esc>`>la"<esc>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
|
" END
|
||||||
" ================================================================================
|
" ================================================================================
|
||||||
|
|
Loading…
Reference in a new issue