Jamie Wilkinson wrote:
> You can save yourself some effort (this works with vim, I don't know if it's
> 100% vi) by marking a position with "'a" (set mark 'a') in command mode,
> then go to the end and just "d'a" (delete to mark 'a').

In vim, you can go into 'visual' mode by pressing 'v' while in command
mode. Moving the cursor around while in visual mode causes text to be
highlighted. You can then delete the highlighted text by pressing 'x' or
copy it by pressing 'y'.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to