-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
80 lines (53 loc) · 1.68 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
69
70
71
72
73
74
75
76
77
78
79
80
" HOUSEKEEPING ---------------------------------------------------------------- {{{
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"Disable compatibility with vi which can cause unexpected issues.
set nocompatible
"Enable type file detection. Vim will be able to try to detect the type of
"file in use.
filetype off
"Enable plugins and load plugin for the detected file type.
filetype plugin on
"Load an indent file for the detected file type.
filetype indent on
"Turn syntax highlighting on.
syntax on
"Set Modifiable
set modifiable
"Line numbers
set number
"Highlight cursor line underneath the cursor horizontally.
set cursorline
"Set shift width to 4 spaces.
set shiftwidth=4
"Set tab width to 4 columns.
set tabstop=4
"Use space characters instead of tabs.
set expandtab
"Ignore capital letters during search.
set ignorecase
"Override the ignorecase option if searching for capital letters.
"This will allow you to search specifically for capital letters.
set smartcase
"set visuals
set termguicolors
"Use highlighting when doing a search.
set hlsearch
"Wildmenu will ignore files with these extensions.
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
" }}}
" PLUGINS ---------------------------------------------------------------- {{{
Plugin 'VundleVim/Vundle.vim'
Plugin 'sheerun/vim-polyglot'
Plugin 'Valloric/YouCompleteMe'
" }}}
" VIMSCRIPT -------------------------------------------------------------- {{{
"Use the marker method of folding.
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END
" }}}
call vundle#end()
"Load an indent file for the detected file type.
filetype indent on