Originally Posted by cyberiapost
why do people stil use vi when ther are other easy to use editors like nano , emacs etc? i find it really difficult to use
.. is there anything special about vi ??
vi is exceptionally easy to use -- once you have learned the basics. Once you know the basics you can easily do more and more advanced stuff as a simple logical extension of what you already know. People use it because it's extremely powerful, quick, and easy to use. That's especially true for structured files but holds true for almost everything I do.
As for the original question, he's got answers enough already.
Personally, I use m instead of visual mode (mostly because some of my systems don't have vim and probably never will).
It's not that hard. Actually, since it makes use of all the normal movement and marking commands you're using all the time... it takes minimally more time to do that than to do anything else.
(Note, the above starts at the current line, and writes two paragraphs to the newfile the ^M stands for the <ENTER> key)
As more detailed explanation.
m[ark point] a
2} [go down "2" paragraphs]
:'[from point]a,[to].[the current line]w[rite] newfile^M[filename and return]