add vim-rooter plugin and remove sniprun
This commit is contained in:
+8
-6
@@ -69,6 +69,7 @@
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
Plug 'NLKNguyen/papercolor-theme'
|
Plug 'NLKNguyen/papercolor-theme'
|
||||||
|
Plug 'airblade/vim-rooter'
|
||||||
|
|
||||||
" only work with nvim > 0.5
|
" only work with nvim > 0.5
|
||||||
" For other versions, just loading the plugin may
|
" For other versions, just loading the plugin may
|
||||||
@@ -82,7 +83,7 @@
|
|||||||
Plug 'projekt0n/github-nvim-theme'
|
Plug 'projekt0n/github-nvim-theme'
|
||||||
|
|
||||||
" partial code execution
|
" partial code execution
|
||||||
Plug 'michaelb/sniprun', {'do': 'bash install.sh'}
|
" Plug 'michaelb/sniprun', {'do': 'bash install.sh'}
|
||||||
endif
|
endif
|
||||||
if g:vim_version >= 0.7
|
if g:vim_version >= 0.7
|
||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
@@ -110,11 +111,12 @@ if g:vim_type == 'nvim'
|
|||||||
" }
|
" }
|
||||||
"
|
"
|
||||||
" michaelb/sniprun {
|
" michaelb/sniprun {
|
||||||
|
if isdirectory(expand(plugin_dir . "/sniprun"))
|
||||||
nmap <leader><leader>r <Plug>SnipRun
|
nmap <leader><leader>r <Plug>SnipRun
|
||||||
vmap <leader><leader>r <Plug>SnipRun
|
vmap <leader><leader>r <Plug>SnipRun
|
||||||
nmap <leader><leader>s <Plug>SnipReset
|
nmap <leader><leader>s <Plug>SnipReset
|
||||||
nmap <leader><leader>c <Plug>SnipClose
|
nmap <leader><leader>c <Plug>SnipClose
|
||||||
|
endif
|
||||||
" }
|
" }
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user