Mouse vs keyboard quotes of the day

My two favourite quotes I’ve remembered from today’s thread about programming using a proportional font and other stuff that happened on, as busy as always, ACCU mailing list:

For me, when coding I think fast and I type just as fast, and every time I have to touch that stupid mouse I curse the idiot who failed to add or, worse, removed (which seems to happen as software “evolves”) the menus/shortcuts/tabbing-logic that would allow me never to lose my thread, or efficiency.

— Matthew

and

I’ve watched people using IDEs (mainly on Windows) and usually I wonder if I’m going to die of old age before they finish carrying out various simple editing tasks by searching through menu trees, navigate through dialogue boxes, clicking on this option and that option (…) I often wonder if I should only have to work 20 hour weeks as I can get my typing-in work done twice as quickly as some other people :)

— Stewart

Signed, with both hands.

I love Vim

Vim logo…for its bloody powerful simplicity that fits Unix philosophy and toolset very well and helps to achieve less and more complex tasks in very intuitive way.

Let’s say I need to find details of all test cases in GDAL autotest package referring to GetNoDataValue method of Band class from Python bindings:

$ cd autotest
$ grep -l GetNoDataValue *.py | xargs gvim

All files answering the filter are loaded to Vim:

batch-open-in-gvim

I’ve seen may questions on the Usenet what’s the best IDE for Unix, especially comparable to Visual Studion and in most cases nothing well-working came out. Means, there is no such IDE for Unix. My answer is: Unix, with its astronomical number of small tools, is a perfect IDE, so nobody intends to develop anything like that.

Vim indentation for C/C++ explained

Vim logoIn today’s early morning post, I’m going give a short crash course about Vim settings for indentation. Every programmer knows how source code indentation important is. There is no discussion about it. Vim, my favourite text editor, provides programmer with rich indetation features set. You can customize almost all aspects of code formating. So, let’s see what kind of indentation features Vim provides and how they affect indentation.

Continue reading