Replace vim abbreviations with Abolish configs
This commit is contained in:
parent
7c7fa37a41
commit
d6593e450a
|
@ -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
|
||||
|
|
11
vim/after/plugin/abolish.vim
Normal file
11
vim/after/plugin/abolish.vim
Normal 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
11
vimrc
|
@ -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
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
|
Loading…
Reference in New Issue
Block a user