diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-06 23:22:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-06 23:29:46 +1200 |
commit | 7dde8920fbedb8d16ba6fc4c45476cbea03cbd39 (patch) | |
tree | 777cf345d58c400a5640a50bebd0b08166129d00 | |
parent | Adjust use of part addenda to *dir options (diff) | |
download | dotfiles-7dde8920fbedb8d16ba6fc4c45476cbea03cbd39.tar.gz dotfiles-7dde8920fbedb8d16ba6fc4c45476cbea03cbd39.zip |
Add Makefile target to install free thesaurus
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | vim/vimrc | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -57,6 +57,7 @@ install-vim-indent \ install-vim-plugin \ install-vim-syntax \ + install-vim-thesaurus \ install-vint \ install-wget \ install-x \ @@ -630,6 +631,11 @@ install-vim-syntax: mkdir -p -- $(VIMDIR)/syntax cp -p -- vim/syntax/*.vim $(VIMDIR)/syntax +install-vim-thesaurus: + mkdir -p -- $(VIMDIR)/ref + curl 'https://sanctum.geek.nz/ref/thesaurus.txt' \ + > $(VIMDIR)/ref/thesaurus.txt + install-vint: cp -p -- vint/vintrc.yaml $(HOME)/.vintrc.yaml @@ -156,6 +156,9 @@ set splitright " Right of the current window, not left " Don't try to syntax highlight run-on lines set synmaxcol=500 +" Add thesaurus; install with `make install-vim-thesaurus` +execute 'set thesaurus^='.vimrc#EscapeSetPart($MYVIM.'/ref/thesaurus.txt') + " PuTTY is a fast terminal, but Vim doesn't know that yet if &term =~# '^putty' set ttyfast |