gvim을 사용하다가 몇가지 맘에는 컬러 스키마중에서 고민이 되더라구요. 그러다가 random colors vim 으로 검색을 했더니 짠 하고 나오는게 있더군요. 아래 코드를 vimrc 에 등록하고 gvim 을 다시 켜보면! 랜덤하게 색상이 변경되는 것을 볼 수 있습니다. " Create the comma-separated list of colorscheme files let s:colors = substitute(globpath(&runtimepath, 'colors/*.vim'), '\n', ',', 'g') if strlen(s:colors) " Count the number of color schemes let s:num = strlen(substitute(s:colors, '[^,]\+', ''..
.vimrc 파일에 아래 내용을 추가 해 놓으면 문서을 열때 자동으로 cp949, utf8 등을 선택해서 보여줍니다. gvim이라면 편집→StartupSettings 에 추가하세요~ " vim 에서 UTF-8, euc-kr 한글문서 그냥 열기. " {{{ Locale settings " Try to come up with some nice sane GUI fonts. Also try to set a sensible " value for fileencodings based upon locale. These can all be overridden in " the user vimrc file. if v:lang =~? "^ko" set fileencodings=euc-kr set fileencoding=euc..
tip karma Rating 90/41, Viewed by 5472 created: September 6, 2001 2:51 complexity: intermediate author: Max Ischenko as of Vim: 6.0 When viewing/editing a folded file, it is often needed to inspect/close some fold. To speed up these operation use the following (put in your $HOME/.vimrc): " Toggle fold state between closed and opened. " " If there is no fold at current line, just moves forward. "..
vim 에서 ftp 파일을 로드하는 모듈 기본 설치 버전(gvim7.0) 에서 에러가 뜨기 때문에 다시 설치 해줘야한다 download sites: http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs http://vim.sourceforge.net/scripts/script.php?script_id=1075 netrw.vba.gz * vba 파일 설치중에 [[[1 에러 뜨면 다 없애버릴것. 6 lines. 아래는 vim tips의 설명 ==================== netrw.vim : Network oriented reading, writing, and browsing (keywords: netrw ftp scp) script karma R..
- Total
- Today
- Yesterday
