summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin <calvin@barnabas.dhcp.drexel.edu>2013-04-25 14:35:34 -0400
committerCalvin <calvin@barnabas.dhcp.drexel.edu>2013-04-25 14:35:34 -0400
commitf1368b1144e2ba27a92e2da4d71b7c7f6c1830fc (patch)
tree1ff7499ae5e16b1ac940fa51922cf9affca6599b
parentb2ee34e4f84701f949857914fa846f8f9a7d3ae0 (diff)
use solarized, add mouse wheeling and select in all modes, map m, M to next and previous errors from make
-rw-r--r--vimrc16
1 files changed, 10 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index 0ca6ce7..f156446 100644
--- a/vimrc
+++ b/vimrc
@@ -1,4 +1,6 @@
set number
+set cursorline
+set autoindent
set autochdir
set smartcase
set ignorecase
@@ -12,14 +14,14 @@ set showmatch
set showmode
set title
set wildmenu
-set wildignore=*.o,*.swp,*~
+set wildignore=*.o,*.swp,*~,
set matchtime=2
-set mouse=v
+set mouse=a
-
-map <F12> :make <CR>
-map <F3> :cn <CR>
-map <S-F3> :cp <CR>
+map <ScrollWheelUp> <C-Y>
+map <ScrollWheelDown> <C-E>
+map m :cnext <CR>
+map M :cprev <CR>
map <tab> :tabn <CR>
map <S-tab> :tabp <CR>
@@ -35,9 +37,11 @@ noremap k j
noremap j h
set background=dark
+colorscheme solarized
filetype plugin on
set ofu=syntaxcomplete#Complete
map <S-y> :w !diff % - <CR>
+