-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
65 lines (55 loc) · 993 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
53
54
55
56
57
58
59
60
61
62
63
64
65
" GUI options{{{
if has("gui_running")
" remove MacVim toolbar (-=T)
set guioptions-=T
endif
"}}}
" Wrap too long lines
set wrap
"Of course, prefer vim settings to vi's
set nocompatible
set nu
set showmode
" Turn on syntax if possible."{{{
if has("syntax")
syntax on
endif
"}}}
" General Settings"{{{
" A few search related options"{{{
set hlsearch
set incsearch
set gdefault
"}}}
" Next a few indentation options"{{{
set autoindent
set smartindent
"}}}
" set the size of a tab to 4 space"{{{
set tabstop=4
set softtabstop=4
" set the size of an indent
set shiftwidth=4
set expandtab
"}}}
" Filetype plugins"{{{
if has("eval")
filetype on
filetype plugin on
filetype indent on
endif
"}}}
"Allow some cool features of the command completion ex mode"{{{
set wildmenu
" set wildignore+=*.o,*.obj,*~
""}}}
" Folding and list chars - misc options"{{{
" folding enable
"
"if has("folding")
" set foldenable
" set foldmethod=indent
"endif
"}}}
" show a ruler
set ruler