Wednesday, April 29, 2009

few vi commands:

Deleting from cursor to end of line
D


Selecting text for further copy/paste/delete etc
  • enter visual mode per character using v or per line using V;
  • use motion commands like h, j, k, l to select text;
  • use the selected text to yank/delete etc;

Move to the beginning next "word delimited by space"
W (w is for any next word)


Move to the beginning of previous "word delimited by space"
B (b is for any previous word)


No comments:

Post a Comment