-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.vimrc
46 lines (37 loc) · 814 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 environments
" ================
set hidden
set title
set number
set cursorline
set termguicolors
" set t_Co=256
" set mouse=a
set incsearch
set smartcase
set ignorecase
set showmatch
set list listchars=extends:❯,precedes:❮,tab:▸\ ,trail:˽
set noundofile
set noswapfile
set nobackup
set nowritebackup
set breakindent
set smartindent
set autoindent
set autowrite
set tabstop=4
set shiftwidth=4
set expandtab
set fileformat=unix
set fileencoding=utf-8
set termencoding=utf-8
set shortmess+=c
set signcolumn=yes
set nowrap
filetype on
syntax on
autocmd! BufNewFile, BufRead Dvcfile, *.dvc setfiletype yaml
au BufRead, BufNewFile *.yaml, *.jsonnet, *.json, *.yml, *.js, *.html, *.css set tabstop=2 | set shiftwidth=2
au BufRead, BufNewFile *.go,Makefile set noexpandtab