Compare commits

..

3 Commits

2 changed files with 16 additions and 4 deletions

View File

@ -1,8 +1,18 @@
" settings " settings
if ! filereadable(system('echo -n "$HOME/.config/nvim/autoload/plug.vim"')) if has('nvim')
silent !mkdir -p $HOME/.config/nvim/autoload/ if ! filereadable(system('echo -n "$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 silent !mkdir -p $HOME/.config/nvim/autoload/
autocmd VimEnter * PlugInstall 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 endif
let mapleader = "\<Space>" let mapleader = "\<Space>"

2
.gitignore vendored
View File

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