On 14-Jul-09 8:36, Raúl Núñez de Arenas Coronado wrote:
> The key here is, IMHO, is a good idea
> to add new modes for certain operations (like moving between windows,
> etc.). I still think it is not a good idea, but I must confess that
> maybe it would make sense to have a new mode for moving between windows
> or tabs. The problem is: how do you go to that mode? If going to that
> mode requires pressing (for example) Ctrl-W, then you are not gaining
> much unless you will be moving between windows for a long time. If you
> make just one move... well, then the "mode" is already there: press
> Ctrl-W to enter "window mode" and press "w" to move to the next window.
> If, on the other hand, you spend ages moving between windows, adding a
> mode is not the best thing, because you will have to enter "Window Mode"
> for moving and doing other "window" things and you will probably go back
> to Normal Mode and use "i" to enter text, which is worse (IMHO) than
> just having some mappings for moving between windows in any mode. Not
> having to switch modes is faster than switching because you save
> keypresses.
> 
> In the end the main problem is that the current mode scheme (and I still
> don't think there's such thing as "Insert mode", for me that's just  a
> command) is good because it uses a single keypress to go to the "main"
> mode (Normal Mode) and you usually spend a lot of time being in Normal
> Mode or using some insert command. Adding modes is, IMHO, not a good
> thing.

I fully agree. Adding (custom) modes would require a lot of new mappings, e.g. 
to execute one normal mode command from mode X (like i_CTRL-O).
There is quite a bunch of CTRL-W commands, so one can already go to the top / 
bottom / preview / whatever window with a single CTRL-W mapping. And you can 
always add custom CTRL-W commands if need be (e.g. to go to a window named 
"foo" 
which you use all the time). And finally, you can still reach for the mouse and 
click into the window to activate it ;-)

-- regards, ingo

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

Raspunde prin e-mail lui