Compare commits

...

3 Commits

2 changed files with 16 additions and 4 deletions

View File

@ -1,8 +1,18 @@
" 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 !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.config/nvim/autoload/plug.vim
autocmd VimEnter * PlugInstall
endif
endif
if version >= 8.0
if ! filereadable(system('echo -n "$HOME/.vim/autoload/plug.vim"'))
silent !mkdir -p $HOME/.vim/autoload/
silent !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.vim/autoload/plug.vim
autocmd VimEnter * PlugInstall
endif
endif
let mapleader = "\<Space>"

2
.gitignore vendored
View File

@ -242,3 +242,5 @@ www
Movies/
Music/
notes.org
.config/backup.log