forked from xsawyerx/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
33 lines (25 loc) · 803 Bytes
/
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
" I hate spaces in end of lines or tabs anywhere
" match Error /\t\|\s\+$/
" convert tabs to spaces, use 4 spaces (in tab jump and shift)
set ts=4
set expandtab
set sw=4
" .tt and .tt2 are html files for me
au BufNewFile,BufRead *.tt set filetype=html
au BufNewFile,BufRead *.tt2 set filetype=html
au BufNewFile,BufRead *.t set filetype=perl
au BufNewFile,BufRead *.md set filetype=markdown
" experimental, darkred? FFD9D9?
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
" original: /\%81v.*/
match OverLength /\%81v.\+/
" Makefiles work with tabs and not spaces
autocmd FileType make setlocal noexpandtab
" remaps to handle tmux stuff
" noremap D <C-Left>
" noremap! D <C-Left>
" noremap C <C-Right>
" noremap! C <C-Right>
" noremap gT
" set background=light
set background=dark