google-adwidget


사용중인 .vimrc

map!  a
map!  a
map!  a
map!  a
"map! { {}OD
"map! [ []OD
"map! ( ()OD
map ㄱ r
" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
let &guioptions = substitute(&guioptions, "t", "", "g")
" Don't use Ex mode, use Q for formatting
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")
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
if &t_Co > 2 || has("gui_running")
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.
" 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")
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 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_make_settings = 'make;m:makros;t:targets'
"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")
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last change: 2001 Jul 18
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM₩_vimrc
" for OpenVMS: sys$login:.vimrc
"colorscheme myshine
colorscheme swlee
" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" set t_kb = CTRL-? "(Backspace 타겟 키)
" set t_kD = CTRL-H "(Delete 타겟 키) " allow backspacing over everything in insert mode
set backspace=indent,eol,start if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file
endif
set backupdir=~/tmp
set history=500 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
"set ignorecase
set laststatus=2
"set statusline=%m%h%r₩ [%P]₩ %a₩ %<%|:%v₩
if has("statusline")
set statusline=%<%f₩ %h%m%r%=%{₩"[₩".(&fenc==₩"₩"?&enc:&fenc).((exists(₩"+bomb₩")₩ &&₩ &bomb)?₩",B₩":₩"₩").₩"]₩ ₩"}%k₩ %-14.(%l,%c%V%)₩ %P
endif
set tags=./tags,tags,../tags
"set ai
set backspace=2
set cindent
set smartindent
set nu terse aw lisp
set tabstop=4
"set ht=4
set shiftwidth=4
"set wrap=word
"set nowrapscan
set showmatch
set title
set whichwrap=b,s,<,>,[,]
set listchars=extends:>,precedes:< ",tab:>-
set iskeyword=@,48-57,_,192-255,-
"set visualbell t_vb=0
set iminsert=0
set imsearch=-1
"cnoremap <CR><CR>:set imdisable<CR>:<CR>
"noremap <ESC><ESC>:set imdisable<CR>:<CR>
"noremap! <C-C><C-C>:set imdisable<CR>:<CR>
"inoremap <C-@><C-@>:set imdisable<CR>:<CR>
inoremap <Esc><Esc>:set imdisable<CR>
"nnoremap i :set noimd<CR>i
"nnoremap I :set noimd<CR>I
"nnoremap a :set noimd<CR>a
"nnoremap A :set noimd<CR>A
"nnoremap o :set noimd<CR>o
"nnoremap O :set noimd<CR>O

"map n :n
"map w :e#
map fu "Tag Search
map uf "After Tag Search

VIM에서 사용중인 색상파일

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... » 내용보기

telnet 접속해서 ctag 사용시 telnet이 끊겨 버리는 문제 해결

telnet 모드에서는 텔넷의 탈출 문자 (Escape character)가 ^](Ctrl+])로 되어 있다.vi나 vim을 이용할 경우 ctags를 검색하기 위해서도 같은 ^]를 사용하게 되는데..ctags를 검색하기 위해서 ^]를 누를경우 텔넷이 끊겨 버린다.이럴 경우 telnet IP 로 접속하지 말고, 다음과 같은 방법을 사용한다.윈도우즈의 te... » 내용보기

open, openx, open64, creat, creat64 -- 작성중....

-- 사용 목적 --파일을 읽거나 쓰기(새로 만들기도 포함)-- 구문 형식 --#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(... » 내용보기

Windows XP에서 사용하던 레지스트리 값을 Windows 7에서 사용하고 싶다.

 » 내용보기


통계 위젯 (블랙)

00
1
13491