aboutsummaryrefslogtreecommitdiffhomepage
path: root/.vim/my/plugin
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-11-17 19:40:29 +0900
committernsfisis <nsfisis@gmail.com>2021-11-17 19:40:29 +0900
commit094fd50f4c6572f4eaeda070d010bca16a8f02af (patch)
treefdded00dcc33c68f378968bb4d94ae5526679c73 /.vim/my/plugin
parent68857664d61b2b77443b5f99d8d96ccefb4bd951 (diff)
downloaddotfiles-094fd50f4c6572f4eaeda070d010bca16a8f02af.tar.gz
dotfiles-094fd50f4c6572f4eaeda070d010bca16a8f02af.tar.zst
dotfiles-094fd50f4c6572f4eaeda070d010bca16a8f02af.zip
vim: add :Dummy command
Diffstat (limited to '.vim/my/plugin')
-rw-r--r--.vim/my/plugin/dummy.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/.vim/my/plugin/dummy.vim b/.vim/my/plugin/dummy.vim
new file mode 100644
index 0000000..ce7b901
--- /dev/null
+++ b/.vim/my/plugin/dummy.vim
@@ -0,0 +1,15 @@
+scriptencoding utf-8
+
+if exists('g:loaded_dummy')
+ finish
+endif
+
+
+
+command! -bar -complete=customlist,dummy#complete -nargs=1
+ \ Dummy
+ \ call dummy#insert(<f-args>)
+
+
+
+let g:loaded_dummy = 1