-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
62 lines (37 loc) · 1.24 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
" View line numbers
:set number
" Disable compatibility with vi
set nocompatible
" Enable type file detection
filetype on
" Enable plugins and load plugins
filetype plugin on
" Load and indent file for the detected file type
filetype indent on
" Turn syntax highlighting on
syntax on
" Enable auto completion menu after pressing TAB
set wildmenu
" Make wildmenu behave similar to Bash completion
set wildmode=list:longest
" There are certain files that we would never want to edit with Vim.
" Wildmenu will ignore files with these extensions.
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
" PLUGINS ---------------------------------------------------------------- {{{
" Plugin code goes here.
" }}}
" MAPPINGS --------------------------------------------------------------- {{{
" Mappings code goes here.
" }}}
" VIMSCRIPT -------------------------------------------------------------- {{{
" This will enable code folding.
" Use the marker method of folding.
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END
" More Vimscripts code goes here.
" }}}
" STATUS LINE ------------------------------------------------------------ {{{
" Status bar code goes here.
" }}}