-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
47 lines (36 loc) · 761 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
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set smartindent
set nowrap
set smartcase
set ignorecase
set incsearch
set termguicolors
set noshowmode
set completeopt=menuone,noinsert,noselect
set noswapfile
set nobackup
set undodir=~/.vim/undodir
set undofile
" Scroll when cursor this many lines from bottom or top.
set scrolloff=8
" Source any .vimrc found in the current dir.
set exrc
" Type of cursor in each mode.
" set guicursor=
" Line numbers relative to cursor.
set relativenumber
" File line number cursor is on.
set nu
" No hightlight search.
set nohlsearch
" Keep buffers.
set hidden
" Bells naww!
set noerrorbells
set colorcolumn=80
highlight ColorColumn guibg=gray10
set signcolumn=yes
highlight SignColumn guibg=gray20