-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvimrc
More file actions
43 lines (32 loc) · 756 Bytes
/
vimrc
File metadata and controls
43 lines (32 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
set nocompatible
behave mswin
" ignore case if searching for all lower case
" but if caps used in search make case sensitive
set ignorecase
set smartcase
vnoremap <Left> h
vnoremap <Right> l
vnoremap <Up> k
vnoremap <Down> j
"nunmap <C-A>
noremap <Q> <C-Q>
set number
color zenburn
"color solarized
set shiftwidth=4
set tabstop=4
set expandtab
" Highlight searches (use <C-L> to temporarily turn off highlighting; see the
" mapping of <C-L> below)
set hlsearch
" Map <C-L> (redraw screen) to also turn off search highlighting until the
" next search
nnoremap <C-L> :nohl<CR><C-L>
" set the fonts
if has("gui_running")
if has("gui_gtk2")
set guifont=Monospace\ 11
elseif has("gui_win32")
set guifont=Consolas:h11:cANSI
endif
endif