Add vim
This commit is contained in:
parent
6b1d96fd31
commit
24481e27de
2 changed files with 21 additions and 0 deletions
|
@ -8,6 +8,9 @@ if [ -z "$BASE_DIR" ]; then
|
|||
fi
|
||||
|
||||
# Add .vimrc {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
echo "Adding .vimrc..."
|
||||
make_symlink ~/.vimrc "$BASE_DIR"/dotfiles/vim/vimrc
|
||||
|
@ -15,6 +18,9 @@ make_symlink ~/.vimrc "$BASE_DIR"/dotfiles/vim/vimrc
|
|||
# }}}
|
||||
|
||||
# Add colors {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
echo "Adding colors..."
|
||||
mkdir -p ~/.vim/colors
|
||||
|
@ -27,6 +33,9 @@ done
|
|||
# }}}
|
||||
|
||||
# Install or update Vundle {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
echo "Setting up Vundle..."
|
||||
if [ ! -e ~/.vim/bundle/Vundle.vim ]; then
|
||||
|
@ -50,6 +59,9 @@ fi
|
|||
# }}}
|
||||
|
||||
# Update Vundle plugins {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
echo "Checking Vundle Plugins..."
|
||||
if vim +PluginInstall +qall; then
|
||||
|
@ -71,6 +83,9 @@ fi
|
|||
# }}}
|
||||
|
||||
# Setup git-submodules for python-mode {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
echo "Setting up Python-mode folder for git submodules..."
|
||||
if [ -e ~/.vim/bundle/python-mode ]; then
|
||||
|
@ -123,6 +138,9 @@ fi
|
|||
# }}}
|
||||
|
||||
# Install YouCompleteMe {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
echo "Setting up YouCompleteMe..."
|
||||
if [ ! -e ~/.vim/ycm_installed ]; then
|
||||
|
|
|
@ -319,6 +319,9 @@ setup_i3() { # {{{
|
|||
} # }}}
|
||||
|
||||
setup_sddm() { # {{{
|
||||
######
|
||||
# OK #
|
||||
######
|
||||
|
||||
# Update sddm
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue