Why are there so few modal-editors that aren't

2019-03-11 17:02发布

Pretty much every other editor that isn't a vi descendant (vim, cream, vi-emu) seems to use the emacs shortcuts (ctrl+w to delete back a word and so on)

标签: vim editor vi
13条回答
孤傲高冷的网名
2楼-- · 2019-03-11 17:21

I recently came across divascheme - an alternative set of key bindings for DrScheme. This is modal, and part of the justification is to do with RSI - specifically avoiding lots of wrist twisting to hit Ctrl-Alt-Shift-something. The coder has done an informal survey of fellow coders and found that emacs users suffered from more wrist pain than vi coders.

You can see him doing a short talk at LugRadio Live USA. (The video is a series of 5 minute talks and I can't remember how far through it is, sorry - if someone watches it and posts that here I'll edit this post to say when in the video it is).

Note I have not used divascheme.

查看更多
\"骚年 ilove
3楼-- · 2019-03-11 17:25

Um... maybe there isn't much of a need for one, given that Vi/Vim is pretty much available everywhere and got the whole modal thing right? :)

查看更多
我只想做你的唯一
4楼-- · 2019-03-11 17:26

Early software was often modal, but usability took a turn at some point, away from this style.

VI-based editors are total enigmas -- they're the only real surviving members of that order of software.

Modes are a no-no in usability and interaction design because we humans are fickle mammals who cannot be trusted to remember what mode the application is in.

If you think you are in one "mode" when you are actually in another, then all sorts of badness can ensue. What you believe to be a series of harmless keystrokes can (in the wrong mode) cause unlimited catastrophe. This is known as a "mode error".

To learn more, search for the term "modeless" (and "usability")

As mentioned in the comments below, a Modal interface in the hands of an experienced and non-fickle person can be extremely efficient.

查看更多
该账号已被封号
5楼-- · 2019-03-11 17:30

I think that it's because vi (and its ilk) already occupies the ecological niche of modal editors.

The number of people who prefer modal and haven't yet been attracted to vi is probably 0, so the hypothetical vi competitor would have to be so great as to make a significant number of vi users switch. This isn't likely. The cost of switching editors is huge and the vi-s are probably already as good as modal editors go. Well, maybe a significant breakthrough could improve upon them, but I find this unlikely.

查看更多
贪生不怕死
6楼-- · 2019-03-11 17:30

Modal editors have the huge advantage to touch typists that you can navigate around the screen without taking your hands off the home row. My wrists only hurt when I'm doing stuff that requires me to move my hand off the keyboard and onto the mouse or arrow keys and back constantly.

查看更多
Juvenile、少年°
7楼-- · 2019-03-11 17:32

VIM and emacs make about as much user interface design sense as qwerty. We now have available modern computer optimized key layouts (see the colemak layout and the carpalx project); it's only a matter of time before someone does the same for text editors.

查看更多
登录 后发表回答