Add gcc alias to work around MacOS stupidity
[dotfiles] / .vimrc
diff --git a/.vimrc b/.vimrc
index af109ae..150a23f 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -42,6 +42,10 @@ set expandtab
 " language-specific settings: tab width is 4 for python
 autocmd FileType python setlocal shiftwidth=4 softtabstop=4 tabstop=4
 
+"allow projet-specific vimrcs
+set exrc
+set secure " Don't execute :autocmd in project-specific vimrcs unless owned by me
+
 " Allow backspacing over everything in insert mode.
 set backspace=indent,eol,start
 
@@ -87,6 +91,11 @@ syn sync fromstart
 " Set the color scheme to desert.
 colorscheme desert
 
+" Set custom whitespace display
+set list
+set showbreak=↪\ 
+set listchars=tab:\ \ →,eol:↲,nbsp:␣,trail:•,extends:⟩,precedes:⟨
+
 " Unmap the arrow keys to prevent bad habits.
 noremap  <Up> ""
 noremap! <Up> <Esc>