-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtiny.vim
More file actions
24 lines (21 loc) · 945 Bytes
/
tiny.vim
File metadata and controls
24 lines (21 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set nocompatible
set encoding=utf-8
scriptencoding utf-8
set termencoding=utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,gb18030,big5,euc-jp,euc-kr,latin1
set fileformats=unix,dos,mac
"set langmenu=zh_CN.UTF-8
"set helplang=cn
set list! " Display unprintable characters
set listchars=tab:▸\ ,trail:•,extends:»,precedes:«
set backspace=eol,start,indent " Allow backspace
set visualbell t_vb= " Disable error bells
set virtualedit=onemore " block, insert, all, onemore
set formatoptions-=t formatoptions+=croql
set smarttab " Make <tab> and <backspace> smarter
set expandtab " expand tabs to spaces
set tabstop=4 softtabstop=4 shiftwidth=4
set autoindent smartindent shiftround
set ignorecase " ignore case when searching
set smartcase " no ignorecase if Uppercase char present