update plug, add F for vim buffersearch
This commit is contained in:
parent
ed5c5c9b55
commit
ae3af530f9
2 changed files with 2 additions and 1 deletions
|
@ -332,6 +332,7 @@ noremap <F11> :Goyo<CR>
|
||||||
|
|
||||||
" Call leaderf with <leader-f> (necessary to enable leaderf lazyloading)
|
" Call leaderf with <leader-f> (necessary to enable leaderf lazyloading)
|
||||||
nnoremap <leader>f :LeaderfFile<cr>
|
nnoremap <leader>f :LeaderfFile<cr>
|
||||||
|
nnoremap <leader>F :LeaderfBuffer<cr>
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" ================================================================================
|
" ================================================================================
|
||||||
|
|
|
@ -2224,7 +2224,7 @@ function! s:upgrade()
|
||||||
let new = tmp . '/plug.vim'
|
let new = tmp . '/plug.vim'
|
||||||
|
|
||||||
try
|
try
|
||||||
let out = s:system(printf('git clone --depth 1 %s %s', s:plug_src, tmp))
|
let out = s:system(printf('git clone --depth 1 %s %s', s:shellesc(s:plug_src), s:shellesc(tmp)))
|
||||||
if v:shell_error
|
if v:shell_error
|
||||||
return s:err('Error upgrading vim-plug: '. out)
|
return s:err('Error upgrading vim-plug: '. out)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue