About
Swaroop C H is 29 years of age. He is a coder and startupper. He has previously worked at Yahoo!, Adobe, his own startup and Infibeam.
Views
Support
Personal tools
COLLECTION
Collection
Talk:Vim
From Notes
On Page 2, under "About Vim":
"Vim [1] is a computer software using which you can write."
That sentence doesn't make any sense to me.
|
132.230.122.35 said: | On 16:02, 25 November 2008 |
|
What a nice book. I'm a long-time vim user, but never managed to get my head around vim scripting (apart from fixing some bugs in others' scripts). This is the best introduction to Vim scripting (writing plugins, syntax files, ...) I have seen so far. Thanks for putting it online! | |
| Reply to 132.230.122.35 | |
Nerd plugin.
Hi Swaroop..
I thought directory views were integrated into vi7. You don't really need the nerd pluging. Just type :Vex or :Sex (split explore) to get a similar directory view.
- Sridhar
Sridhar is correct...
- Robert
Thanks Sridhar and Robert, I've updated for the same :)
- Swaroop 07:37, 4 December 2008 (UTC)
Errata comment
Swaroop,
On p.14 in the first and second paragraphs discussing the substitution command, you state ":s%/from/to/g..." and then go on to say ":s" is the substitution command. But what is ":%s"?
Similarly in the next paragraph you talk about substituting from/to in only the first 10 lines and give the command as ":0,10s" Is this really the first 10 lines (0-9) or the first 11 lines (0-10). Probably some explanation is needed here if the command as given is correct.
Kevin Havener
Hi Kevin,
I've added some explanation on this. Please let me know if it is sufficient.
Thanks,
Swaroop 02:28, 16 January 2009 (UTC)
directory
It took me a while to work out why I had problems opening and closing the hello.txt file. It seems Vim was storing the file in the windows/system32 directory. An explanation on how to change directories may be useful. I found that the cd command worked within Vim.