SEARCH
TOOLBOX
LANGUAGES
Vim

Vim

From Chaehyun

Revision as of 05:24, 21 June 2010 by Xlos (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

다중 라인 코멘트 (multi line comment)

Select your lines with VISUAL BLOCK (CTRL-V), then press I to insert before all highlighted lines. Next type your comment character, # (for python, shell, etc). Last press ESC.

I forget not frequently used, but helpful VIM commands from time to time. Why not blog it?

You can alternatively select your lines with VISUAL LINE (SHIFT-V), then type : s/^/#

Retrieved from "http://chaehyun.kr/w/Vim"