Hello, you can run shell commands from Vim editor.
Press Esc : to go to command mode.
Type ! (Exclamation sign)
Type any command after !, and press ENTER
For example:
:!date
Wed May 21 12:44:33 IST 2008
Press ENTER or type command to continue
Wednesday, May 21, 2008
Searching Current Word
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. :)
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. :)
Subscribe to:
Posts (Atom)
