In order to search current word (word under cursor),
forward direction:
Esc *
reverse direction:
Esc #
Now, press either n or N to go in same direction or opposite direction.
This tip will prevent you from pressing many keys.
No need to go to search and press n/N. :)
Showing posts with label word. Show all posts
Showing posts with label word. Show all posts
Wednesday, May 21, 2008
Tuesday, April 8, 2008
Changing a Part of Word
All of us know cw (change word) command, to change a word.
It changes word from cursor to end of word. Suppose you want
to change a part of word.
for example: Mismanagement to Management
(i). Suppose your cursor is at M of Mismanagement, like
Mismanagement
(ii). Since you want to change only 4 characters "Mism" to "M",
Press c4l (Remembrall: Change 4 Left)
Then press M as replacement word. You will get
Management
Note
It changes word from cursor to end of word. Suppose you want
to change a part of word.
for example: Mismanagement to Management
(i). Suppose your cursor is at M of Mismanagement, like
Mismanagement
(ii). Since you want to change only 4 characters "Mism" to "M",
Press c4l (Remembrall: Change 4 Left)
Then press M as replacement word. You will get
Management
Note
Subscribe to:
Posts (Atom)
