-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_vimrc
More file actions
68 lines (58 loc) · 1.83 KB
/
_vimrc
File metadata and controls
68 lines (58 loc) · 1.83 KB
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
" pathogen
filetype off
call pathogen#runtime_append_all_bundles()
" syntax hilighting
colorscheme zenburn
syntax on
filetype plugin indent on
" minibufexpl options
let g:miniBufExplMapWindowNavVim = 1
let g:Tlist_Use_Right_Window = 1
let g:Tlist_WinWidth = 30
" etc
set encoding=utf8
set ttyfast " smoother redrawing
set autowrite " automatically saves when switching to another file
set title " sets console title, but no worky in tmux
" GUI options (from the windows days ;P)
set guioptions-=m " no menu
set guioptions-=T " no toolbar
set guicursor=a:blinkon0 " no cursor blink
set gfn=Consolas:h11 " Consolas font
" editing options
set autoindent " automatic indentation
set shiftwidth=4 " tabs of 4 spaces
set tabstop=4 "
set expandtab "
set backspace=2 " allow backspace to delete previously inserted stuff
set showmatch
set matchtime=3
" viewing options
set list " shows ambiguous characters i.e. tab as special chars
set listchars=tab:▸\ ,eol:¬,extends:❯,precedes:❮ "
set nowrap " no wordwrap
set number " show line numbers
set showmode " show --VISUAL-- or --INSERT-- or etc when in those modes
set ruler " show line and column number
match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$' " hilight VCS conflict markers
" wildmenu stuff
set wildmenu
set wildmode=list:longest
set wildignore+=.hg,.git,.svn
set wildignore+=*.jpg,*.bmp,*.gif,*.png,*.jpeg
set wildignore+=*.o,*.obj,*.exe,*.dll,*.manifest
set wildignore+=*.sw?,*.un~
set wildignore+=*.DS_Store
set wildignore+=*.pyc
" undo stuff
set history=1000
set undofile
set undoreload=10000
" regex
nnoremap / /\v
vnoremap / /\v
set ignorecase
set smartcase
set incsearch
set hlsearch
set gdefault