www.ghoon.net
강지훈 ::
Rss feed
Home
Tag
MediaLog
LocationLog
Guestbook
Admin
Write
Category
분류 전체보기
(14)
Development
(3)
DirectFB
(0)
cURL
(1)
Anything
(1)
Useful Tips
(0)
Notice
Tag
메소드포인터
Total
6,551
Today
10
Y-day
4
티스토리 가입하기
calendar
«
2010/03
»
일
월
화
수
목
금
토
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
Search
Recent Post
Win32 SYSTEMTIME, F...
IPhone Explorer 죽...
Linux shell 용 merg...
VIM에서 현재 Line,...
내 vimrc setting..
Recent Comment
저도 같은 증상...
헐헐
2011
좋은 정보 잘...
꾸로gguro
2010
Recent Trackback
Archive
2011/08
(1)
2011/06
(1)
2011/01
(1)
2010/06
(1)
2010/03
(1)
My Link
fomuon's blog.
hoyeol's blog.
'2010/03/12'에 해당되는 글 1건
2010/03/12
::
내 vimrc setting.
분류없음
2010/03/12 02:46
내 vimrc setting.
colorscheme desert syntax on set autoindent set smartindent set cindent set nohlsearch set nobackup set et set ts=4 sw=4 sts=4 let c_space_errors=1 let java_space_errors=1 nmap ,rms : exe '%s/\s\+$//g'<cr> " allow backspacing over everything in insert mode set backspace=indent,eol,start set formatoptions+=r " Only do this part when compiled with support for autocommands. if has("autocmd") " When editing a file, always jump to the last known cursor position. " Don't do it when the position is invalid or when inside an event handler " (happens when dropping a file on gvim). autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif endif " has("autocmd") "=== key mapping ===" map <F3> :Tlist<cr><C-W><C-W> map <F4> :BufExplorer<cr> map <F5> v]}zf map <F6> zo map <F7> gg=G<cr> map ,t :cs find c <cword><cr> map ,f :cs find s <cword><cr> map ,d :cs find 1 <cword><cr> map ,r :cs find e au BufNewFile,BufRead *.doxygen setfiletype doxygen "=== ctags ===" set tags=./tags,../tags,../../tags,../../../tags,../../../../tags,../../../../../tags if version >= 500 func! Sts() let st = expand("<cword>") exe "sts ".st endfunc nmap ,st :call Sts()<cr> func! Tj() let st = expand("<cword>") exe "tj ".st endfunc nmap ,tj :call Tj()<cr> endif "== cscope ==" set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb if filereadable("./cscope.out") cs add cscope.out else cs add /home/jhkang/works/echostar/g4_1.0.6/cscope.out endif func! Css() let css = expand("<cword>") new exec "cs find s ".css if getline(1) == "" exe "q!" endif endfunc nmap ,css :call Css()<cr> func! Csc() let csc = expand("<cword>") new exec "cs find c ".csc if getline(1) == "" exe "q!" endif endfunc nmap ,csc :call Csc()<cr> func! Csd() let csd = expand("<cword>") new exec "cs find d ".csd if getline(1) == "" exe "q!" endif endfunc nmap ,csd :call Csd()<cr> func! Csg() let csg = expand("<cword>") new exec "cs find g ".csg if getline(1) == "" exe "q!" endif endfunc nmap ,csg :call Csg()<cr>
내가 필요할때 좀 보려구 올려 놈.
posted by
강지훈
Trackback
0
:
Comment
0
Trackback :
http://www.ghoon.net/trackback/22
<
PREV
NEXT
>
1