User Tools

Site Tools


vim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vim [2009/07/29 10:27] – created suapapavim [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== key binding cheat ======
 +  * {, } : 전/후의 공백라인으로 이동
 +  * * : 현재 커서의 워드로 이동
 +====== plugin ======
 +  *[[http://mysite.verizon.net/astronaut/vim/index.html#MANPAGEVIEW|Man Page Viewer]]
 +<code>:so %</code>
 +  *[[http://vim.sourceforge.net/scripts/script.php?script_id=30|python_fn]]
 +  *[[http://www.vim.org/scripts/script.php?script_id=1853|Twitter : A simple client for Twitter]]
 +  *[[http://www.vim.org/scripts/script.php?script_id=311|grep.vim : Grep search tools integration with Vim]]
 +
 +  *[[http://clewn.sourceforge.net/|clewn]] - Clewn implements full gdb support in the vim editor
 +  *[[http://pyclewn.sourceforge.net/|Pyclewn]]
 +<code bash>
 +$ vimdir=$HOME/.vim python setup.py install --home=$HOME
 +</code>
 +  *파이썬 라이브러리는 ~/lib/python/clewn
 +  *빔 플러그인은 ~.vim
 +에 설치됨
 +
 +
 +
 +====== tips ======
 +링크를 브라우져로 열기
 +  *[[http://vim.wikia.com/wiki/Open_a_web-browser_with_the_URL_in_the_current_line|Open link with browser]]
 :make 시 실행되는 명령어를 바꾸기 :make 시 실행되는 명령어를 바꾸기
 <code bash> <code bash>
 :se makeprg=ko-po-check\ % :se makeprg=ko-po-check\ %
 </code> </code>
 +파일의 인코딩 및 인덴트 정하기. 예. 파이썬 소스.
 +<code vim>
 +# -*- coding: utf-8 -*-
 +# vim: set et sts=2 sw=2 fenc=utf-8:
 +</code>
 +
 +====== reference ======
 +  *[[http://www.rayninfo.co.uk/vimtips.html|Best of Vim Tips]]
 +  *[[http://www.linux.com/archive/articles/114138|Vim tips: Folding fun]]
 +  *[[http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html|Graphical vi-vim Cheat Sheet and Tutorial]]
vim.1248863274.txt.gz · Last modified: 2013/08/03 05:04 (external edit)