update vimrc stuff
This commit is contained in:
parent
f4f3a7205e
commit
a117661817
9
vimrc/install.sh
Normal file
9
vimrc/install.sh
Normal 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
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user