Compare commits
3 Commits
f8383f13a3
...
90e44d2278
Author | SHA1 | Date | |
---|---|---|---|
90e44d2278 | |||
dbf3ee54bf | |||
07ee50dbdc |
@ -1,8 +1,18 @@
|
||||
" 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
|
||||
|
||||
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
2
.gitignore
vendored
@ -242,3 +242,5 @@ www
|
||||
Movies/
|
||||
Music/
|
||||
notes.org
|
||||
|
||||
.config/backup.log
|
Loading…
Reference in New Issue
Block a user