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