Wednesday, January 24, 2007

Vi Editors

Joining Lines
Caps J it will inner joining the lines
Case changing in vi editirs
use '~' (tilde) commands toggle the case of text

H J KL ---> H cursor moves towards to left
J --- > J cursor moves towards down
k -> Cursor moves towards up
L -> Cursor moves towards right
to N from search nest line

SearchPattern
/ s -> Search pattern
In linux if u search some words will blink to avoid such blinking worrds
type :hdghsddgfdfgjk like that so it automaticlyy reonved the blinking

Replace --> replace line and character use replace
Matching words
use /\
or simple use \words\> I think it's simple abd better than above one
:e is used for editting multiple files with out leaving the editor
:e! Load Last saved editions of currents files ( like microsoft windows)
set number is used to set

Reference
Some part of the vi tutorial is Referred in Sumitabha Das ultimate unix

No comments:

Post a Comment

Powered By Blogger