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