Permalink
Browse files

Small updates

  • Loading branch information...
1 parent dac3316 commit 9a7bb50a463959d7efb26facff70a579fb700261 @brianz committed Dec 3, 2013
Showing with 11 additions and 5 deletions.
  1. +7 −1 cpdots.sh
  2. +4 −4 vimrc
View
8 cpdots.sh
@@ -1,3 +1,9 @@
for fn in bash_key_bindings bashrc gitconfig gitignore screenrc vimrc; do
- cp ~/.$fn $fn;
+ #cp ~/.$fn $fn;
+ cp $fn ~/.$fn;
done
+
+# Setup new machine
+curl https://raw.github.com/git/git/master/contrib/completion/git-completion.sh -o ~/.git-completion
+curl https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.git-prompt
+
View
8 vimrc
@@ -115,10 +115,10 @@ au BufRead,BufNewFile *.rst match BadWhitespace /\s\+$/
" Strip trailing whitespace on save
au BufWritePre *.rst :%s/\s\+$//e
-" Bad whitespace for html, js and css
-au BufRead,BufNewFile *.html,*.css,*.js,*.less match BadWhitespace /^\t\+/
-au BufRead,BufNewFile *.html,*.css,*.js,*.less match BadWhitespace /\s\+$/
-au BufWritePre *.html,*.css,*.js,*.less :%s/\s\+$//e
+" Bad whitespace for html, js, css and yaml
+au BufRead,BufNewFile *.html,*.css,*.js,*.less,*.yml match BadWhitespace /^\t\+/
+au BufRead,BufNewFile *.html,*.css,*.js,*.less,*.yml match BadWhitespace /\s\+$/
+au BufWritePre *.html,*.css,*.js,*.less,*.yml :%s/\s\+$//e
" ----------------------------------------------------------------------------

0 comments on commit 9a7bb50

Please sign in to comment.