[iframe src=”http://blip.tv/play/h61qgsmhGwA.html” width=”100%” height=”370″]
To select from your current cursor position to the end of the line, use:
(From Normal Mode/Command Mode): v (little v; will make cursor thin) $ (shift-4)
To select to the beginning of the line:
(From Normal Mode/Command Mode): v (little v; will make cursor thin) ^ (shift-6)
…and walla! Quick vim tip!
[iframe width=”100%” height=”349″ src=”http://www.youtube.com/embed/7DkPKn5GQdI”]
In this screencast I explain what it means for Aubrey’s gVim users that Select Mode has been entirely disabled. Because it is disabled I have found that you have to be aware that you are in Visual Mode/Command Mode/Normal Mode when you select text, which means you cannot just start typing your replacement text, you must issue a command.
To bring up a Save As window to select where you want to save a new or edited file, just switch into command mode and execute:
To activate a ZenCoded string, like: ul>li[class=”red”]*2>span
<Ctrl>+<y><,> — Control-Y (Release) Comma