-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
executable file
·51 lines (39 loc) · 984 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
" no vi here
:set nocompatible
" yes spaces not tabs, pep 8
:set tabstop=4
:set autoindent
:set expandtab
:set shiftwidth=4
" code view settings
:filetype on
:filetype plugin indent on
:syntax on
:set cursorline
:set number
:syntax enable
" keep backups tidy
:set backupdir-=.
:set backupdir^=~/tmp,/tmp
set secure
" short is good
:set colorcolumn=80
:highlight ColorColumn ctermbg=darkgray
" don't wrap me bro
:set nowrap
" show options
:set showmatch
:set showcmd
:set showmode
" search options
set incsearch " search as characters are entered
set hlsearch " highlight matches
set ignorecase
set smartcase
" Enable auto completion menu after pressing TAB.
set wildmenu
" Make wildmenu behave like 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