-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc_almark
More file actions
41 lines (34 loc) · 780 Bytes
/
vimrc_almark
File metadata and controls
41 lines (34 loc) · 780 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"================ Personal settings ================
" Encoding
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
set langmenu=zh_CN.UTF-8
language message zh_CN.UTF-8
" Font
"set guifont=Courier\ New:h12:cANSI
set guifont=monofur:h12:cANSI
"colorscheme bensday
colorscheme neon
" Style
set nu
syntax on
set ai
set cindent
set ts=4
set shiftwidth=4
set expandtab
" Fold
set foldenable
set foldmethod=syntax
" Mode & pathogen
set nocompatible
set nobackup
execute pathogen#infect()
""" Plugin
" NERDTree
autocmd VimEnter * nmap <F3> :NERDTreeToggle<CR>
autocmd VimEnter * imap <F3> <Esc>:NERDTreeToggle<CR>a
let NERDTreeQuitOnOpen=0
let NERDTreeWinSize=30
let NERDTreeDirArrows=1
"================ Personal settings ================