Thursday, July 17, 2008

VIM tip: On MS-Windows CTRL-V is used to paste text. Use CTRL-Q instead of CTRL-V

*24.8* Entering special characters

The CTRL-V command is used to insert the next character literally. In other words, any special meaning the character has, it will be ignored. For example: >

CTRL-V <Esc>

Inserts an escape character. Thus you don't leave Insert mode. (Don't type the space after CTRL-V, it's only to make this easier to read).

Note: On MS-Windows CTRL-V is used to paste text. Use CTRL-Q instead of CTRL-V. On Unix, on the other hand, CTRL-Q does not work on some terminals, because it has a special meaning
Blogged with the Flock Browser

No comments: