summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2009-11-10 21:22:48 -0500
committerMike Crute <mcrute@gmail.com>2009-11-10 21:22:48 -0500
commit46f238b877c78b1555ade071c8d061247dab5a32 (patch)
tree6941800182ebfa5d519fbf426492dfd6e3ba54f7 /.vimrc
parentc8fc33dea6cb2cb98d0695b25fc87da23fcc5638 (diff)
downloaddotfiles-46f238b877c78b1555ade071c8d061247dab5a32.tar.bz2
dotfiles-46f238b877c78b1555ade071c8d061247dab5a32.tar.xz
dotfiles-46f238b877c78b1555ade071c8d061247dab5a32.zip
Updating vimrc from work
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc23
1 files changed, 9 insertions, 14 deletions
diff --git a/.vimrc b/.vimrc
index 4c9abab..af2cf50 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,4 +1,3 @@
1
2" 1"
3" .vimrc VIM Preferences File 2" .vimrc VIM Preferences File
4" by Mike Crute (mcrute@gmail.com) 3" by Mike Crute (mcrute@gmail.com)
@@ -23,13 +22,9 @@ set nocompatible
23" 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
24" pretty nicely on a 15" MBP at highest resolution. 23" pretty nicely on a 15" MBP at highest resolution.
25if has("gui_macvim") && has("gui_running") 24if has("gui_macvim") && has("gui_running")
26 set transparency=8 25" set transparency=10
27 colorscheme mcrute 26 set lines=65
28 "set lines=65 27 set columns=230
29 "set columns=230
30 " This size feels nice, to too big, not too small
31 set columns=100
32 set lines=53
33 set guifont=Monaco:h10.00 28 set guifont=Monaco:h10.00
34 set go-=T 29 set go-=T
35endif 30endif
@@ -38,11 +33,8 @@ endif
38" The columns/lines in this setting fits just perfectly on my 33" The columns/lines in this setting fits just perfectly on my
39" Linux desktop at work at hightest resolution. 34" Linux desktop at work at hightest resolution.
40if has("gui_gtk") && has("gui_running") 35if has("gui_gtk") && has("gui_running")
41 "set lines=75 36 set lines=75
42 "set columns=238 37 set columns=238
43 " This size feels nice, to too big, not too small
44 set columns=100
45 set lines=53
46 set guifont=Monospace\ 8 38 set guifont=Monospace\ 8
47 set guioptions=aegimrLt 39 set guioptions=aegimrLt
48endif 40endif
@@ -158,7 +150,10 @@ map txt :set filetype=text<CR>
158map <C-s> :w<CR> 150map <C-s> :w<CR>
159 151
160" Turns selected camelCase into camel_case 152" Turns selected camelCase into camel_case
161vnoremap ,dc :s/\v\C(([a-z]+)([A-Z]))/\2_\l\3/g<CR> 153vnoremap <leader>dc :s/\v\C(([a-z]+)([A-Z]))/\2_\l\3/g<CR>
154
155" Run python scripts and display the output
156nnoremap <leader>lp :!python %:p<CR>
162" }}} 157" }}}
163" Folding Settings {{{ 158" Folding Settings {{{
164set foldenable 159set foldenable