.config/nvim/plugin/tig.vim

changeset 1074
91b42a87c3d9
parent 1073
911aa9d81e71
child 1075
3b88450bda15
deleted file mode 100644
--- a/.config/nvim/plugin/tig.vim
+++ /dev/null
@@ -1,18 +0,0 @@
-func! tig#Tig(...) abort
-  enew
-  setl nonumber
-  call termopen(["tig"] + a:000, {'on_exit': 'tig#TigExit'})
-endfunc
-
-func! tig#TigBlame() abort
-  call tig#Tig('blame', '+' . line('.'), '--', expand('%'))
-endfunc
-
-func! tig#TigExit(...) abort
-  buffer #
-endfunc
-
-command! -nargs=* -complete=file Tig      call tig#Tig(<f-args>)
-command!                         TigBlame call tig#TigBlame()
-command!                         TigLog   call tig#Tig('log', '-p', '--', expand('%'))
-

mercurial