On Wed, Dec 17, 2008 at 10:39 PM, alex
<[email protected]> wrote:
> - Unix + vim are better than GUI-IDEs or not in your eyes ?

Absolutely, if you know what you're doing and you're a touch typist -
can type without looking at the keyboard, ever.  Mind you that's quite
a big `if' there. The shell gives you a means to speed up the way you
work exactly how you want it to be speeded up.

Customize the shell so that your fingers do not have to leave the home
rows at all while coding.  That means never lifting your your hand to
reach for the mouse; exploit your fingers' muscle memory to the
maximum level possible which would result in faster editing plus full
concentration on coding itself.  I find that moving the mouse can be
somewhat distracting at times as I have to set aside some brain
activity resources for navigating the work area (haha).  Your eyes
focuses on an area the size of about a quarter, the area outside this
are sort of blurred out. As you hunt around for that pixel that you
want to click that focus area wanders on the screen which forces your
brain to process whatever it is that you are seeing whether it is
relevant to your coding or not. Using the mouse requires hand-eye
coordination - more brain resources needed; while using the keyboard
doesn't as you make use of your ingrained muscle memory. Your only
focus on things that matter the most.

This would include, among others, grokking the shell's programmable
completion so that you can easily autocomplete your vim aliases based
on the context. For example don't limit the filename completion to the
files in your current directory. Make it attempt the completion on the
relevant filenames in all the subdirectories of your project. Put vim
-c "find $1" in say ~/bin/vif and make that vif's tab completion to
search for those files in you project while filtering out files that
you'd never touch. Add an alias, say 'vit' to vi -t and make it
autocomplete to entries in from your tags file.

I guess the main idea here is to focus on customizing the shell in
order to automate away stuff that would slow you down when coding.

nazri.

P/S: Of course, there will always be trade-offs :)

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to