map! [A [ka map! [B [ja map! [C [ha map! [D [la "map! { {}OD "map! [ []OD "map! ( ()OD map ㄱ r " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries " Don't use Ex mode, use Q for formattinglet &guioptions = substitute(&guioptions, "t", "", "g") map Q gq " Make p in Visual mode replace the selected text with the "" register. vnoremap p <Esc>:let current_reg = @"<CR>gvs<C-R>=current_reg<CR><Esc> " This is an alternative that also works in block mode, but the deleted " text is lost and it only works for putting the current register. "vnoremap p "_dp "syntax on " Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. if has("unix") if &t_Co > 2 || has("gui_running")set t_Co=16 if has("terminfo") set t_AB=[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm set t_AF=[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm else set t_Sf=[3%dm set t_Sb=[4%dm endif endif syntax on set hlsearch endif " Only do this part when compiled with support for autocommands. if has("autocmd") " Enable file type detection. " Use the default filetype settings, so that mail gets 'tw' set to 72, " 'cindent' is on in C files, etc. " Also load indent files, to automatically do language-dependent indenting. filetype plugin indent on " For all text files set 'textwidth' to 78 characters. autocmd FileType text setlocal textwidth=78 " When editing a file, always jump to the last known cursor position. endif " has("autocmd")" 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 map <F1> K map <F2> :25vs ./<CR>:set nonu<CR> "map <F3> v]}zf map <F3> v%zf map <F4> zo map <F5> gd map <F6> '' map <F7> :marks<CR> map <F8> [i "map <F9> :w<CR>:!clear<CR>:!cc -g -O % -o %< 2> comp.log<CR> map <F9> :w<CR>:!clear<CR>:!make %< <CR> "map <F9> :w<CR>:!clear<CR>:!cc -g -O % -o %< && ./%< 2> comp.log<CR> "map <F10> :!clear<CR>:! ./%< 2> runs.log<CR> map <F10> :!clear<CR>:! ./%< map <F11> :so $HOME/.vim/syntax/2html.vim<CR> map <F12> Line Comment let g:C_AuthorName = 'Sungwoo Lee' let tlist_make_settings = 'make;m:makros;t:targets'let g:C_AuthorRef = 'Associate Research of Computer Div.' let g:C_Email = 'antonio.bohem@gmail.com' let g:C_Company = 'Korea Services co., Ltd.' let s:C_Project = "Next Champion" let s:C_CopyrightHolder = "Copyright(C) 1998-2005 Korea Services" "let tlist_qmake_settings = 'qmake;t:SystemVariables' "if has("autocmd") " ---------- qmake : set filetype for *.pro ---------- " autocmd BufNewFile,BufRead *.pro set filetype=qmake "endif " has("autocmd")
|
- 2017/06/18 11:48
- Utilities
- sccs.egloos.com/4619984
- 2017/06/18 11:20
- Utilities
hi clearset background=darkif exists("syntax_on")syntax resetendiflet g:colors_name = "swlee"hi Normal guifg=white guibg=blackhi Scrollbar guifg=darkcyan guibg=cyanhi Menu guifg=black guibg=cyanhi S... » 내용보기
- 2017/06/18 11:19
- Utilities
telnet 모드에서는 텔넷의 탈출 문자 (Escape character)가 ^](Ctrl+])로 되어 있다.vi나 vim을 이용할 경우 ctags를 검색하기 위해서도 같은 ^]를 사용하게 되는데..ctags를 검색하기 위해서 ^]를 누를경우 텔넷이 끊겨 버린다.이럴 경우 telnet IP 로 접속하지 말고, 다음과 같은 방법을 사용한다.윈도우즈의 te... » 내용보기
- 2017/06/18 02:11
- Library and Function
-- 사용 목적 --파일을 읽거나 쓰기(새로 만들기도 포함)-- 구문 형식 --#include <fcntl.h>int open(const char *Path, int OFlag, mode_t [Mode])int openx(const char *Path, int OFlag, mode_t [Mode], int Extension)int creat(... » 내용보기
- 2017/06/17 20:29
- M$ WinDogs?
» 내용보기




최근 덧글