update vimrc stuff

This commit is contained in:
Jeffrey Paul 2018-03-06 17:27:43 -05:00
parent f4f3a7205e
commit a117661817
2 changed files with 9 additions and 9 deletions

9
vimrc/install.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
mkdir -p ~/.vim/swap
mkdir -p ~/.vim/backup
mkdir -p ~/.vim/undo
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ ! -e ~/.vimrc ]]; then
cat "$DIR/vimrc" > ~/.vimrc
fi

View File

@ -1,6 +1,3 @@
#!/bin/sh
cat > ~/.vimrc <<'EOF'
"execute pathogen#infect() "execute pathogen#infect()
set number set number
@ -98,9 +95,3 @@ let python_no_number_highlight = 1
let python_space_error_highlight = 1 let python_space_error_highlight = 1
let g:flake8_show_in_gutter=1 " show let g:flake8_show_in_gutter=1 " show
EOF
mkdir -p ~/.vim/swap
mkdir -p ~/.vim/backup
mkdir -p ~/.vim/undo