2009년 11월 22일 일요일

Macro function on vi and vim

1. "Start recording by pressing q, followed by a lower case character to name the macro
2. Perform any typical editing, actions inside Vim editor, which will be recorded
3. Stop recording by pressing q
4. Play the recorded macro by pressing @ followed by the macro name
5. To repeat macros multiple times, press : NN @ macro name. NN is a number"

from google..

댓글 없음:

댓글 쓰기