Replace vim abbreviations with Abolish configs

This commit is contained in:
Michael Campagnaro 2017-06-16 16:55:45 -04:00
parent 7c7fa37a41
commit d6593e450a
3 changed files with 12 additions and 11 deletions

View File

@ -5,4 +5,5 @@ set -e
if [ ! -d "~/.vim" ]; then
echo "Syncing user dictionary" && cp ~/.vim/spell/* ~/.dotfiles/vim/spell/
echo "Syncing user colors" && cp ~/.vim/colors/* ~/.dotfiles/vim/colors/
echo "Syncing after directory" && cp -r ~/.vim/after ~/.dotfiles/vim/
fi

View File

@ -0,0 +1,11 @@
" Exit if :Abolish isn't available.
if !exists(':Abolish')
finish
endif
Abolish teh the
Abolish taht that
Abolish kewyord keyword
Abolish indentit{y,ies} identit{y,ies}
Abolish indetit{y,ies} identit{y,ies}
Abolish constnat constant

11
vimrc
View File

@ -572,17 +572,6 @@ nnoremap <leader><leader> <c-^>
vnoremap p "_dP
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" ABBREVIATIONS
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:ab teh the
:ab taht that
:ab kewyord keyword
:ab indentity identity
:ab indetity identity
:ab constnat constant
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" TEXT ALIGNMENT PLUGIN
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""