summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorYigit Sever2019-04-10 13:20:22 +0300
committerYigit Sever2019-04-10 13:20:22 +0300
commitd65b7f04edfdb84c0e8d1f499d6d243f82b400a4 (patch)
treee400120d3d4939f851ef074c04aca10fdc056713 /.config/nvim/after
parent6e15ee0798d53f4dc3029f14fbc36994433b8944 (diff)
downloaddotfiles-d65b7f04edfdb84c0e8d1f499d6d243f82b400a4.tar.gz
dotfiles-d65b7f04edfdb84c0e8d1f499d6d243f82b400a4.tar.bz2
dotfiles-d65b7f04edfdb84c0e8d1f499d6d243f82b400a4.zip
Vim uses abolish
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/plugin/abolish.vim11
1 files changed, 11 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..cfb6233
--- /dev/null
+++ b/.config/nvim/after/plugin/abolish.vim
@@ -0,0 +1,11 @@
1Abolish {despa,sepe}rat{e,es,ed,ing,ely,ion,ions,or} {despe,sepa}rat{}
2Abolish persistan{ce,t,tly} persisten{}
3Abolish despara{te,tely,tion} despera{}
4Abolish seperat{e,es,ed,ing,ely,ion,ions,or} separat{}
5Abolish teh the
6Abolish {,un}nec{ce,ces,e}sar{y,ily} {}nec{es}sar{}
7Abolish {,ir}releven{ce,cy,t,tly} {}relevan{}
8
9iabbrev <silent> longdate <C-R>=strftime("%a %b %d %T %Z %Y")<CR>
10iabbrev <silent> todaydatetime <C-R>=strftime("%F %T")<CR>
11iabbrev <silent> todaydate <C-R>=strftime("%F")<CR>