티스토리 뷰
set nocompatible
source $VIMRUNTIME/mswin.vim
behave mswin
set guioptions-=m
set guioptions-=T
set lines=50
set gfn=Consolas:h12:cANSI:b:i
"set gfn=Andale_Mono:h10:cANSI
"set gfn=Monaco:h12:cANSI:
"set gfn=Bitstream_Vera_Sans_Mono:h11:cANSI:i:b
"set gfn=DejaVu_Sans_Mono:h11:cANSI
set fileformats=unix,dos
set scrolloff=3
set tags=tags;/
set hlsearch
set incsearch
set nostartofline
set showmatch
"set textwidth=80
set laststatus=2
set wrap
set ruler
filetype indent on
set autoindent
set sts=4
set shiftwidth=4
set encoding=utf-8
let c_space_errors=1
let java_space_errors=1
colorscheme evening
syntax on
au BufNewFile,BufReadPost *.c,*.h set cindent smarttab shiftwidth=4 et
au BufNewFile,BufReadPost *.cpp,*.cc set cindent smarttab shiftwidth=4 et
au BufNewFile,BufReadPost *.java set cindent smarttab shiftwidth=8 noet
au BufNewFile,BufReadPost *.php3 set cindent smarttab shiftwidth=4 et
au BufNewFile,BufReadPost *.pl set cindent smarttab shiftwidth=4 et
au BufNewFile,BufReadPost *.js set cindent smarttab shiftwidth=4 et
au BufNewFile,BufReadPost *.py set cindent smarttab shiftwidth=4 et
au BufNewFile,BufReadPost *.tex set autoindent
au BufNewFile,BufReadPost *.txt setf txt
au BufNewFile,BufReadPost Makefile*,makefie*,*.mk set noet
nnoremap <silent> <F9> :TlistToggle<CR>
nnoremap <silent> <F10> :TlistAddFilesRecursive . *.java<CR>
nnoremap <silent> <F11> :!python % <CR>
nnoremap <silent> <F12> :!svn commit <CR
- Total
- Today
- Yesterday