diff --git a/vim/rc/plugins.rc.vim b/vim/rc/plugins.rc.vim index 923370a..23e1955 100644 --- a/vim/rc/plugins.rc.vim +++ b/vim/rc/plugins.rc.vim @@ -49,7 +49,7 @@ if (v:version > 703) Plug 'ludovicchabant/vim-gutentags' " Auto generate tags files end if has('nvim') - Plug 'kassio/neoterm' + Plug 'kassio/neoterm', { 'on': ['TREPLSend', 'TREPLSendFile', 'T'] } command! Tig :T tig command! Tox :T tox endif diff --git a/vim/rc/plugins/dash.rc.vim b/vim/rc/plugins/dash.rc.vim index f173452..cc7329d 100644 --- a/vim/rc/plugins/dash.rc.vim +++ b/vim/rc/plugins/dash.rc.vim @@ -1,5 +1,5 @@ " Install plugin -Plug 'rizzatti/dash.vim' +Plug 'rizzatti/dash.vim', { 'on': 'DashSearch' } " Set config" nmap d DashSearch let g:dash_map = { diff --git a/vim/rc/plugins/tagbar.rc.vim b/vim/rc/plugins/tagbar.rc.vim index a8f4f45..77ab60d 100644 --- a/vim/rc/plugins/tagbar.rc.vim +++ b/vim/rc/plugins/tagbar.rc.vim @@ -1,4 +1,4 @@ -Plug 'majutsushi/tagbar' +Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' } nnoremap :TagbarToggle let g:tagbar_autofocus = 1 " Autofocus tagbar diff --git a/vim/rc/plugins/tcomment_vim.rc.vim b/vim/rc/plugins/tcomment_vim.rc.vim index dfe0173..cb128b8 100644 --- a/vim/rc/plugins/tcomment_vim.rc.vim +++ b/vim/rc/plugins/tcomment_vim.rc.vim @@ -1,3 +1,3 @@ -Plug 'tomtom/tcomment_vim' " , { 'on': ['TComment', 'TCommentBlock'] } +Plug 'tomtom/tcomment_vim', { 'on': ['TComment', 'TCommentBlock'] } nnoremap // :TComment vnoremap // :TCommentBlock diff --git a/vim/rc/plugins/vim-dispatch.rc.vim b/vim/rc/plugins/vim-dispatch.rc.vim index 70146d6..69f9f2e 100644 --- a/vim/rc/plugins/vim-dispatch.rc.vim +++ b/vim/rc/plugins/vim-dispatch.rc.vim @@ -1,3 +1,3 @@ -Plug 'tpope/vim-dispatch' +Plug 'tpope/vim-dispatch', { 'on': 'Dispatch' } nnoremap :Make command! TagsUpdate Dispatch ctags -R .