Saluton Tony :)

Tony Mechelynck <[email protected]> dixit:
> On 13/07/09 18:00, Raúl Núñez de Arenas Coronado wrote:
>> Current design is, IMHO, perfect. You have normal mode for performing
>> editing tasks, visual mode to visually perform editing tasks and
>> command mode for ex commands.
>
> Command-LINE mode. "Command mode" is an older synonym, still used in
> parts of the help, for "Normal mode". See ":help command-mode" if you
> don't believe me.

I believe you, I made a typo ;)

>>> If not: is there any chance of it being implemented?
>>
>> I can't speak for Bram, but I would bet that it won't ;)
[...]
>
> The reason that Bram -- reluctantly, I'm sure, since he doesn't like
> Emacs ;-) -- had to recruit these control keys, was that all or almost
> all "ordinary" keys already did something, and that he intentionally
> wanted to leave the F keys (other than F1 = Help and, on some systems,
> F10 = Menu) to "the user's choice". Fn and Shift-Fn keys are your
> "best choices" as {lhs} for mappings.

I suppose that the OP knows that mappings can solve his problem, but
nonetheless he was interested in adding new modes (which, in the end,
would make available plenty of "ordinary" keys, one set for each new
mode). The key here is not if "Insert mode" is a mode or not, or if
mappings can solve OP's problem. 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.

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

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

Raspunde prin e-mail lui