C:\Program Files\Vim\_vimrc.html
1 :colo koehler
2 set tabstop=4
3 set title
4 set number
5 syntax on
6 set background=dark
7 set nu
8
9 set hls is
10 set ic
11
12 set ai
13 set si
14 set shiftwidth=4
15
16 set nobackup
17 set ruler
18
19 set showcmd
20 set showmatch
21
22 set autowrite
23 set fenc=korean
24 set fencs=ucs-bom,utf-8,euc-kr,latin1
25
26 au BufWinLeave *.sh mkview
27 au BufWinLeave *.sh silent loadview
28 set nocompatible
29 source $VIMRUNTIME/vimrc_example.vim
30 source $VIMRUNTIME/mswin.vim
31 behave mswin
32
33 set showcmd
34 set showmatch
35 set ignorecase
36 set smartcase
37 set incsearch
38 set autowrite
39 set nu
40 set hidden
41
42 set background=dark
43
44 autocmd BufReadCmd *.class call <SID>ReadClass(expand("<afile>:p:h"), expand("<afile>:t:r"))
45
46 function s:ReadClass(dir, classname)
47 execute "cd " . a:dir
48 "!jad -noctor -ff -i -p "
49 execute "0read !jad -noctor -ff -i -p " . a:classname
50
51 1
52 set ft=java
53 setlocal readonly
54 setlocal nomodified
55 endfunction
56
57 set diffexpr=MyDiff()
58 function MyDiff()
59 let opt = '-a --binary '
60 if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
61 if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
62 let arg1 = v:fname_in
63 if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
64 let arg2 = v:fname_new
65 if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
66 let arg3 = v:fname_out
67 if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
68 let eq = ''
69 if $VIMRUNTIME =~ ' '
70 if &sh =~ '\<cmd'
71 let cmd = '""' . $VIMRUNTIME . '\diff"'
72 let eq = '"'
73 else
74 let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
75 endif
76 else
77 let cmd = $VIMRUNTIME . '\diff'
78 endif
79 silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq
80 endfunction