Add 'WP' function, spelling and thesaurus files

This commit is contained in:
2021-06-24 10:09:58 -07:00
parent 014ee25865
commit 4f35d35f36
21 changed files with 43765 additions and 0 deletions

14
vimrc
View File

@@ -16,3 +16,17 @@ endif
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
set ai et nu ts=2 sw=2 wm=0 tabpagemax=100
func! WordProcessor()
map j gj
map k gk
setlocal formatoptions=1
setlocal noexpandtab
setlocal wrap
setlocal linebreak
setlocal spell spelllang=en_us,es_mx
set thesaurus+=$HOME/.vim/thesaurus/mthesaur.txt
set complete+=s
endfu
com! WP call WordProcessor()