Added for nvim installation the plug.vim
This commit is contained in:
parent
f8383f13a3
commit
07ee50dbdc
@ -1,8 +1,10 @@
|
||||
" settings
|
||||
if ! filereadable(system('echo -n "$HOME/.config/nvim/autoload/plug.vim"'))
|
||||
silent !mkdir -p $HOME/.config/nvim/autoload/
|
||||
silent !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.config/nvim/autoload/plug.vim
|
||||
autocmd VimEnter * PlugInstall
|
||||
if has('nvim')
|
||||
if ! filereadable(system('echo -n "$HOME/.config/nvim/autoload/plug.vim"'))
|
||||
silent !mkdir -p $HOME/.config/nvim/autoload/
|
||||
silent !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.config/nvim/autoload/plug.vim
|
||||
autocmd VimEnter * PlugInstall
|
||||
endif
|
||||
endif
|
||||
|
||||
let mapleader = "\<Space>"
|
||||
|
Loading…
Reference in New Issue
Block a user