Pages

 

Blogroll

 
Donnerstag, 11. September 2008

I love vim

What would programmers do without a good editor?

Today I felt the power of this tool once again.
I was just wondering how I can upcase some hashes in a ruby hash array. I searched a few minutes in np++ and maybe just missed the right click...

There is one big problem for me with that powerful editor/environment. Maybe only for me, it´s really hard to learn when you are not in pressure to use it for every little edit. So as I promised myself, whenever I am in conflict with another editor, or just want to look how easy/hard it would be, look up how that works in vim. I had an idea, how hard the regular expression would be that should be able to ignore the ruby syntax for a hash. What left to do? Google, right. I typed in "vim lowercase"(without the quotes) and there were several results that could help. At the moment I started reading the ugly text under the links I started to realize how stupid the idea to google was. Next step, open vim. then type ":help lowercase" and there it is! I had all the results I needed to get this thing working. I marked the whole hash in the ruby file in visual mode and pressed u. That´s it. I was suprised once again... one key to success. Maybe emacs can do the same for me, and by the way, if you know how comment that please. But the important thing for me was that I started wrong. With vim, always just type :help and the question about thing would be answered.

Today I learned how to get good results with the help and started using marcos. In conclusion, I have to say that it´s worth it to learn vim and after playing arround with my .vimrc this comes arround with some really nice features. Can anyone tell me how to create windows at startup in vim? I thought about having a :Explorer at the left and a console on the lower...

I hope I´ll get some comments. Thanks for reading...

Updates Via E-Mail

Blogger news

Labels