Lazy load everything!

This commit is contained in:
ViViDboarder 2017-10-27 17:59:36 -07:00
parent 1ab61dcbf7
commit 729a912244
5 changed files with 5 additions and 5 deletions

View File

@ -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<CR>
command! Tox :T tox<CR>
endif

View File

@ -1,5 +1,5 @@
" Install plugin
Plug 'rizzatti/dash.vim'
Plug 'rizzatti/dash.vim', { 'on': 'DashSearch' }
" Set config"
nmap <silent> <leader>d <Plug>DashSearch
let g:dash_map = {

View File

@ -1,4 +1,4 @@
Plug 'majutsushi/tagbar'
Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' }
nnoremap <silent> <F8> :TagbarToggle<CR>
let g:tagbar_autofocus = 1 " Autofocus tagbar

View File

@ -1,3 +1,3 @@
Plug 'tomtom/tcomment_vim' " , { 'on': ['TComment', 'TCommentBlock'] }
Plug 'tomtom/tcomment_vim', { 'on': ['TComment', 'TCommentBlock'] }
nnoremap // :TComment<CR>
vnoremap // :TCommentBlock<CR>

View File

@ -1,3 +1,3 @@
Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-dispatch', { 'on': 'Dispatch' }
nnoremap <F5> :Make<CR>
command! TagsUpdate Dispatch ctags -R .