forked from fratrik/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_vimrc
52 lines (43 loc) · 864 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
" Isaac Gateno
" This is my .vimrc file. There are many like it, but this one is mine.
" pathogen
call pathogen#infect()
" colors
set t_Co=256
syntax enable
set background=dark
colorscheme solarized
" essentials
syntax on
set nocompatible
set autoindent
set modelines=0
" set number
" set relativenumber " decomment for relative line numbers
set cursorline
" tab settings
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
" searching
set ignorecase
set smartcase
set incsearch
set showmatch
set hlsearch
" text
set wrap
if exists('+colorcolumn')
set cc=80
else
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%79v.\+/
end
" gui
set guioptions-=r
" trim trailing whitespace
autocmd BufWritePre * :%s/\s\+$//e
" status line
set laststatus=2
set statusline=%F%m%r%h%w%=(%{&ff}/%Y)\ (line\ %l\/%L,\ col\ %c)