4 ms·
Yes, vi related muscle memory is particularly useful when using non-vi text entry.:wq
by sophacles 17y ago
Yes, vi related muscle memory is particularly useful when using non-vi text entry.:wq
- koenigdavidmj 17y agoGrr. Why can't ^W be something less harmful in most programs?
- jrockway 17y agoWhat programs is it not backward-kill-word in?
- sophacles 17y agoIn vim it is the first part of a sequence for manipulating windows. This mindset can conflict with e.g. firefox, in which ctrl-w closes a window. (particularly if there are multiple firefoxes/tabs open) Edit: That should be close tab, not close window, c-shift-w is window.
- jrockway 17y agoAh. In Emacs, bash, and conkeror, it does something useful. (I've never really understood why there are keyboard shortcuts for things like "quit program" and "print". How often, if ever, do you want to do those things? Do they really need to be one keystroke away!?)
- sophacles 17y agoThats a pretty inflammatory statement... "In one program and a couple that emulate it...". How is it not useful to have a keyboard shortcut to change focus between windows? Windows in vim refer to what I believe are called "splits" in emacs. The vim c-w stuff is analogous to c-x stuff in emacs. As for close tab shortcuts in firefox -- I use it all the time. Standard work flow for me includes c-t, google.com, <misspelled word>, c-w, <correct spelling from "did you mean">.
- viraptor 17y ago> Standard work flow for me includes c-t, google.com, <misspelled word>, c-w, <correct spelling from "did you mean">. This might be quicker: c-k, <misspelled word>, alt-enter, c-w alt-enter opens a new tab with the search.
- chancho 17y agoYou never close browser tabs?
- BrandonM 17y agofirefox, in which ctrl-w closes... It's very useful in situations like this to know that Ctrl-Shift-T reopens the last closed tab, and you can press it repeatedly to continue opening less-recently closed tabs.
- koenigdavidmj 17y agoYeah, but in Pidgin you just disconnected. And told your buddy/chat room that you did.
- jodrellblank 17y agoWindows programs, it's often kill MDI child window (or these days, tab).
- chancho 17y agoIn Windows, KDE and Gnome it almost universally closes a window. By default, anyway.
- jodrellblank 17y agoI can tell Vim isn't user friendly because :Q isn't an alias for :q by default. :/
- pyre 17y agoOne of my co-workers has aliases for typos of common unix commands. (e.g. 'alias mroe=more' and 'alias moer=more' etc)
- varikin 17y agoThat is one reason I like Zsh. It can figure out typos most often and prompts you. For example: > sl zsh: correct 'sl' to 'ls' [nyae]? (edit: formatting)
- Calamitous 17y agoUgh. I keep looking for a way to turn this "feature" off. The fraction of a second it would take me to recognize and correct my mistake is far less frustrating and time-consuming than having to parse the message and select an option. Of the hundreds of times this feature has popped up, I believe I've actually hit "y" twice.