Browse Source

cleanup vim bundle, add wildmenu vim opt, and better setup.sh

main
Noah Hall 7 years ago
parent
commit
3ee23a05dd
5 changed files with 11 additions and 7 deletions
  1. +1
    -0
      .gitignore
  2. +0
    -1
      .vim/bundle/syntastic
  3. +0
    -1
      .vim/bundle/vim-fugitive
  4. +1
    -0
      .vimrc
  5. +9
    -5
      setup.sh

+ 1
- 0
.gitignore View File

@ -0,0 +1 @@
.vim/bundle

+ 0
- 1
.vim/bundle/syntastic

@ -1 +0,0 @@
Subproject commit 0fcf79514009c0c836b5a4c32ae4719891983fa2

+ 0
- 1
.vim/bundle/vim-fugitive

@ -1 +0,0 @@
Subproject commit 0103538d7a8e03c061c031e33459aeaa4cf040ab

+ 1
- 0
.vimrc View File

@ -8,6 +8,7 @@ set et
set shiftwidth=4
set backspace=2
set ruler
set wildmenu
syntax on
filetype plugin on
set hlsearch


+ 9
- 5
setup.sh View File

@ -1,8 +1,11 @@
#!/bin/bash
DEST=$(whoami)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
links=(
.vimrc
.vim
.vim
.regexlist.vim
.tmux.conf
.gitconfig
@ -10,22 +13,23 @@ links=(
.git-completion
)
for i in ${links[@]}; do
ln -s ${i} ~/${i}
ln -s ${DIR}/${i} /home/${DEST}/${i}
done
clones=(
scrooloose/syntastic
tpope/vim-fugitive
)
cd ~/.vim/bundle
mkdir -p /home/${DEST}/.vim/bundle
cd /home/${DEST}/.vim/bundle
for i in ${clones[@]}; do
git clone http://github.com/${i}
done
cd ~
cd /home/${DEST}
appends=(.add_to.bashrc)
for i in ${appends[@]}; do
fname=`cut -d \. -f 3`
fname=`cut -d \. -f 2`
cat ${i} >> ${fname}
done


Loading…
Cancel
Save