-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
68 lines (51 loc) · 1.36 KB
/
.vimrc
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
" Set filetype stuff to on
filetype on
filetype plugin on
filetype indent on
" Tabstops are 4 spaces
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set autoindent
" Printing options
set printoptions=header:0,duplex:long,paper:letter
" set the search scan to wrap lines
set wrapscan
" I'm happy to type the case of things. I tried the ignorecase, smartcase
" thing but it just wasn't working out for me
set noignorecase
" set the forward slash to be the slash of note. Backslashes suck
set shellslash
if has("unix")
set shell=bash
else
set shell=ksh.exe
endif
" Make command line two lines high
set ch=2
" set visual bell -- i hate that damned beeping
set vb
" Allow backspacing over indent, eol, and the start of an insert
set backspace=2
" Gives a 3 line scroll buffer
set scrolloff=3
set scrolljump=4
" map tabp, tabn to <F3>, <F4>
map <F3> :tabp<CR>
map <F4> :tabn<CR>
" Add full file path to your existing statusline
set statusline+=%F
set laststatus=2
" Theme
colorscheme evening
" Remove some stuff
set guioptions-=m "remove menu bar
set guioptions-=T "remove toolbar
set guioptions-=r "remove right-hand scroll bar
set go-=L
set number
"let w:m1=matchadd('Search', '\%<81v.\%>77v', -1)
"let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
set clipboard=unnamedplus "share cp/paste buffer with system
highlight MatchParen cterm=bold ctermfg=cyan