diff options
author | Mike Crute <mcrute@gmail.com> | 2010-08-31 14:34:51 -0400 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2010-08-31 14:34:51 -0400 |
commit | 54226124d7373d84a40ff1b0628d50be0de7b4cd (patch) | |
tree | 8f1fd9870bf2c4539aa9d284f217d6ba9e7716c7 /.vimrc | |
parent | fb486cf721ca6a45513e7e89bc350f1709409643 (diff) | |
download | dotfiles-54226124d7373d84a40ff1b0628d50be0de7b4cd.tar.bz2 dotfiles-54226124d7373d84a40ff1b0628d50be0de7b4cd.tar.xz dotfiles-54226124d7373d84a40ff1b0628d50be0de7b4cd.zip |
Syncing changes from home
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -22,10 +22,11 @@ set nocompatible | |||
22 | " totally impossible to see what we're doing. The cols/lines fits | 22 | " totally impossible to see what we're doing. The cols/lines fits |
23 | " pretty nicely on a 15" MBP at highest resolution. | 23 | " pretty nicely on a 15" MBP at highest resolution. |
24 | if has("gui_macvim") && has("gui_running") | 24 | if has("gui_macvim") && has("gui_running") |
25 | set transparency=10 | 25 | " set transparency=10 |
26 | set lines=65 | 26 | set lines=65 |
27 | set columns=100 | 27 | set columns=100 |
28 | set guifont=Monaco:h10.00 | 28 | " set guifont=Monaco:h10.00 |
29 | set guifont=Anonymous\ Pro:h15.00 | ||
29 | set go-=T | 30 | set go-=T |
30 | " colorscheme mcrute | 31 | " colorscheme mcrute |
31 | colorscheme fruity | 32 | colorscheme fruity |
@@ -200,6 +201,16 @@ function! DoTextMode() | |||
200 | set spell | 201 | set spell |
201 | call SetColumnHighlighting(0) | 202 | call SetColumnHighlighting(0) |
202 | endfunction | 203 | endfunction |
204 | |||
205 | " Use par if it is installed since it does a much better | ||
206 | " job of formatting than the built-in formatter | ||
207 | if executable("/opt/local/bin/par") | ||
208 | set formatprg="/opt/local/bin/par" | ||
209 | endif | ||
210 | |||
211 | if executable("/usr/local/bin/par") | ||
212 | set formatprg="/usr/local/bin/par" | ||
213 | endif | ||
203 | " }}} | 214 | " }}} |
204 | " Key Bindings {{{ | 215 | " Key Bindings {{{ |
205 | " Tab Key Bindings | 216 | " Tab Key Bindings |