env/env. vim2013. 4. 16. 13:44

set nocompatible

set tabstop=4

set title

set number

syntax on

set background=dark

set nu


set hls is

set ic


set ai

set si

set shiftwidth=4


set nobackup

set ruler


set showcmd

set showmatch


set autowrite "Ctrl+z 사용시 buffer의 내용을 저장하고 stop시킴


:colo koehler


" java decompiler 설정      --> jad.exe 미리 설치 하세욤

autocmd BufReadCmd *.class call <SID>ReadClass(expand("<afile>:p:h"), expand("<afile>:t:r"))


function s:ReadClass(dir, classname) 

 execute "cd " . a:dir

 execute "0read !jad -noctor -ff -i -p " . a:classname

 1

 set ft=java

 setlocal readonly

 setlocal nomodified

endfunction



이걸로 간다 자세한 설명은 생략한다.

optional ) :set list


'env > env. vim' 카테고리의 다른 글

[env.vim] vimrc  (0) 2015.01.20
vim encoding 변경  (0) 2014.04.29
빈줄삭제  (0) 2013.12.09
Posted by wooix
dev/dev. Android2011. 8. 16. 15:54
Posted by wooix