diff options
author | Mike Crute <mcrute@gmail.com> | 2009-11-10 21:22:48 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2009-11-10 21:22:48 -0500 |
commit | 46f238b877c78b1555ade071c8d061247dab5a32 (patch) | |
tree | 6941800182ebfa5d519fbf426492dfd6e3ba54f7 /.vimrc | |
parent | c8fc33dea6cb2cb98d0695b25fc87da23fcc5638 (diff) | |
download | dotfiles-46f238b877c78b1555ade071c8d061247dab5a32.tar.bz2 dotfiles-46f238b877c78b1555ade071c8d061247dab5a32.tar.xz dotfiles-46f238b877c78b1555ade071c8d061247dab5a32.zip |
Updating vimrc from work
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 23 |
1 files changed, 9 insertions, 14 deletions
@@ -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. |
25 | if has("gui_macvim") && has("gui_running") | 24 | if 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 |
35 | endif | 30 | endif |
@@ -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. |
40 | if has("gui_gtk") && has("gui_running") | 35 | if 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 |
48 | endif | 40 | endif |
@@ -158,7 +150,10 @@ map txt :set filetype=text<CR> | |||
158 | map <C-s> :w<CR> | 150 | map <C-s> :w<CR> |
159 | 151 | ||
160 | " Turns selected camelCase into camel_case | 152 | " Turns selected camelCase into camel_case |
161 | vnoremap ,dc :s/\v\C(([a-z]+)([A-Z]))/\2_\l\3/g<CR> | 153 | vnoremap <leader>dc :s/\v\C(([a-z]+)([A-Z]))/\2_\l\3/g<CR> |
154 | |||
155 | " Run python scripts and display the output | ||
156 | nnoremap <leader>lp :!python %:p<CR> | ||
162 | " }}} | 157 | " }}} |
163 | " Folding Settings {{{ | 158 | " Folding Settings {{{ |
164 | set foldenable | 159 | set foldenable |