root/dotfiles/vim/hogelog-vimrc @ 34554

Revision 22831, 0.8 kB (checked in by hogelog, 5 years ago)

ファイル名補完などをzshっぽく

Line 
1filetype plugin indent on
2
3syntax enable
4colorscheme default
5
6set number
7set smartindent
8
9" completion
10set wildmode=list:longest
11
12" no bell
13set visualbell t_vb=
14
15" for UTF-8
16set ambiwidth=double
17
18" show statusline always
19set laststatus=2
20" show fenc, ff on statusline
21set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
22
23set showmatch
24
25set tabstop=2
26set shiftwidth=2
27set softtabstop=0
28set expandtab
29
30set encoding=utf-8
31set fileencodings=euc-jp,iso-2022-jp,cp932,utf-8
32set fileformats=unix,dos,mac
33
34" search
35set ignorecase
36set smartcase
37set hlsearch
38
39let g:is_gauche = 1
40
41" auto save
42set updatetime=50
43autocmd CursorHold * call AutoUp()
44function! AutoUp()
45    if expand('<afile>') != '' && !&readonly && &buftype == ''
46        silent update
47    endif
48endfunction
49
50set noswapfile
51set nobackup
Note: See TracBrowser for help on using the browser.