diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/after/plugin/abolish.vim | 31 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 14 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/abolish.vim b/.config/nvim/after/plugin/abolish.vim new file mode 100644 index 0000000..a560c39 --- /dev/null +++ b/.config/nvim/after/plugin/abolish.vim | |||
@@ -0,0 +1,31 @@ | |||
1 | let g:abolish_save_file = expand('<sfile>') | ||
2 | |||
3 | if !exists(":Abolish") | ||
4 | finish | ||
5 | endif | ||
6 | |||
7 | Abolish anomol{y,ies} anomal{} | ||
8 | Abolish austrail{a,an,ia,ian} austral{ia,ian} | ||
9 | Abolish cal{a,e}nder{,s} cal{e}ndar{} | ||
10 | Abolish {c,m}arraige{,s} {}arriage{} | ||
11 | Abolish {,in}consistan{cy,cies,t,tly} {}consisten{} | ||
12 | Abolish destionation{,s} destination{} | ||
13 | Abolish delimeter{,s} delimiter{} | ||
14 | Abolish {,non}existan{ce,t} {}existen{} | ||
15 | Abolish despara{te,tely,tion} despera{} | ||
16 | Abolish d{e,i}screp{e,a}nc{y,ies} d{i}screp{a}nc{} | ||
17 | Abolish {,re}impliment{,s,ing,ed,ation} {}implement{} | ||
18 | Abolish improvment{,s} improvement{} | ||
19 | Abolish inherant{,ly} inherent{} | ||
20 | Abolish {les,compar,compari}sion{,s} {les,compari,compari}son{} | ||
21 | Abolish {,un}nec{ce,ces,e}sar{y,ily} {}nec{es}sar{} | ||
22 | Abolish {,un}orgin{,al} {}origin{} | ||
23 | Abolish persistan{ce,t,tly} persisten{} | ||
24 | Abolish referesh{,es} refresh{} | ||
25 | Abolish {,ir}releven{ce,cy,t,tly} {}relevan{} | ||
26 | Abolish rec{co,com,o}mend{,s,ed,ing,ation} rec{om}mend{} | ||
27 | Abolish reproducable reproducible | ||
28 | Abolish resouce{,s} resource{} | ||
29 | Abolish restraunt{,s} restaurant{} | ||
30 | Abolish {despa,sepe}rat{e,es,ed,ing,ely,ion,ions,or} {despe,sepa}rat{} | ||
31 | Abolish segument{,s,ed,ation} segment{} | ||
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 0c00437..38c1acc 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua | |||
@@ -149,6 +149,20 @@ return require('packer').startup(function(use) | |||
149 | -- colour theme of the $CURRENT_YEAR | 149 | -- colour theme of the $CURRENT_YEAR |
150 | use 'rose-pine/neovim' | 150 | use 'rose-pine/neovim' |
151 | 151 | ||
152 | -- abbreviation reminder | ||
153 | use { | ||
154 | '0styx0/abbreinder.nvim', | ||
155 | requires = { | ||
156 | { | ||
157 | '0styx0/abbremand.nvim', | ||
158 | module = 'abbremand' -- if want to lazy load | ||
159 | } | ||
160 | }, | ||
161 | config = function() | ||
162 | require'abbreinder'.setup() | ||
163 | end, | ||
164 | event = 'BufRead', -- if want lazy load | ||
165 | } | ||
152 | -- search for, substitute, and abbreviate multiple variants of a word | 166 | -- search for, substitute, and abbreviate multiple variants of a word |
153 | use 'tpope/vim-abolish' | 167 | use 'tpope/vim-abolish' |
154 | -- enable repeating supported plugin maps with '.' | 168 | -- enable repeating supported plugin maps with '.' |