Added for nvim installation the plug.vim

This commit is contained in:
Marcin Woźniak 2021-10-01 20:00:15 +02:00
parent f8383f13a3
commit 07ee50dbdc
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -1,9 +1,11 @@
" settings " settings
if has('nvim')
if ! filereadable(system('echo -n "$HOME/.config/nvim/autoload/plug.vim"')) 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>"
let g:python3_host_prog = expand('/usr/src/python') let g:python3_host_prog = expand('/usr/src/python')