Compare commits

...

3 Commits

2 changed files with 16 additions and 4 deletions

View File

@ -1,9 +1,19 @@
" 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
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>" let mapleader = "\<Space>"
let g:python3_host_prog = expand('/usr/src/python') let g:python3_host_prog = expand('/usr/src/python')

2
.gitignore vendored
View File

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