-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider changing default dotspacemacs-major-mode-leader-key to "DEL" #5606
Comments
It is not so easy to hit and |
However, putting a command that is called frequently under pinky (that is also stretched a little) is a bad idea, but major-mode leader key is probably called much less frequently than I have no opinion, whether major-mode leader key should be remapped from , elsewhere, but it's useful to keep in mind that |
I am not vim editing style user, but my |
Do you use the other Ctrl key, the one on the right? If not: TRY TO TYPE THIS SENTENCE BY HOLDING ONLY LEFT SHIFT AND NOT USING THE OTHER SHIFT Do you feel strain in your left pinky? If not at all, then you have a mighty left pinky, so sure, go ahead, use Caps Lock for Control. But if you do, that's essentially what you are doing with your pinky, when you press Control with it, all day long. Mapping Caps Lock to Control is a hacky workaround, where instead we should rethink insane Emacs default keybindings, which demand using our pinkies so much. We can't fix keyboards, most people will be stuck with Ctrl, Shift and other keys under pinkies, but at least we can fix keybindings and start using more Alt instead of more Ctrl. But that's a topic for another discussion. |
😇 |
Seriously? Don't try to hit me with problems taken from vacuum. I rarely need to use upper case, but when I do need, I either use solution from @StreakyCobra or use
Working all day in Emacs and no pain :) But I know some people don't like hitting
Solution is not hacky - it places
No-no. Don't be so harsh. If they look insane to you it doesn't mean they're insane :)
At some point I was using
Cheers :) |
@StreakyCobra Exactly what I did! 😆 I don't use CapsLock. |
You seem to all have missed the point. TRY TO WRITE THIS SENTENCE WITH PINKY HOLDING THE LEFT SHIFT ONLY is an exercise to see whether it's a discomfort for you to hold something with a pinky while typing, not because writing ALL CAPS with a single Shift held a good idea. If you press C-n, C-p a lot during the day, you are doing essentially the same as WRITING LONG SENTENCES WITH LEFT SHIFT HELD WITH A PINKY. @d12frosted So, have you or have you not tried to WRITE A VERY LONG SENTENCE WITH A SHIFT HELD BY A LEFT PINKY ONLY? If you do feel even a little strain, it will accumulate over time.
Nonsense. The Emacs keybindings where designed after the Space-cadet keyboard, where Control was under a thumb. That now Control is under pinky and is used for absolutely everything in Emacs is a historical accident, there's no need to rationalize it. |
No, I understood you. It's just the same as asking person to choke all wood on the Earth with knife. Yes, it's inconvenient, indeed. But don't miss the main problem here - why would you do it in the first place? 😸 It's inconvenient to me to write such sentences holding shift. I admit. But why would I ever want to write whole sentence upper case? And even if I really need to do so - I would rather use an axe instead of knife.
I would disagree. It's not the same, because it's not that continuous process. Plus, when I navigate I don't move a lot my left hand. Because it's easy to access
Oh right. I just wanted to say, that I like having |
It might make more sense to swap Ctrl and Alt on one side since you can at least hit Alt with your thumb. This wouldn't work on all keyboards though (some don't have two Alts). I'm already using Caps Lock for Enso, it's really not unusual for emacs users to swap Caps Lock and left-Ctrl, and for Colemack users, Caps Lock is another DEL anyway. This is getting a little off-topic. A leader key is not as much of a strain as a modifier key. Everybody (even vimmers) already uses backspace (in insert mode) many times during the day. It's not hard to tap it, even with your ring finger.
Unfortunately true, but controversial. (
This suggests another option: keep
As the owner your opinion counts for a lot, but Spacemacs is supposed to be crowd-configured. I'm only suggesting changing the default in the documentation and dotfile template for the benefit of new users. Existing users who already have a dotfile with the old default will not be affected. |
@sindikat just to make things funny I cut (not off) my pinky finger :D now it's hard to navigate 😆 |
@d12frosted switch to hybrid mode for the time being and use |
This got really derailed quite fast... Anyway, to be back on the original topic of things, I have always remapped the leader to As far as the off topic about the caps lock goes: I actually agree with the premise of the control key being caps. Functionally speaking, caps -> ctrl is an objective benefit over most traditional layouts. Further, your pinky is not stretched nearly as far as say using DEL/backspace stretches it. However, I do think that using the alt key's traditional placement for ctrl and using the caps key as alt would be, ergonomically speaking, even better. The thumb should be used for more frequently pressed keys (especially those held down for a long duration with multiple keys being hit as ctrl often is). Rethinking software keybinds to fix hardware/physical problems is ridiculous, however. It's like insisting your web browser be colored pink because your monitor displays the color white wrong; just fix the damn calibration or get a new monitor if you must. There's nothing wrong with the ctrl/alt/meta etc., keybindings; key placement is arbritrary on keyborads thanks to remapping, so move them where they're comfortable for you. |
Having |
The If we use |
New user here from vim. I just wanted to point out that a typing a leader is not necessarily the same as opening a major mode menu. I think of a leader as a prefix for my personal keystrokes. I remapped mine to |
Spacemacs beginner here. edit: found it. |
@gilch as this discussion seems to be pretty stale please consider closing the issue. |
For others looking into this issue. I suggest the use of: https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Bvim/evil-snipe It allows |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Rationale:
,
is actually useful to vimmers as the opposite of;
. If you accidentally;
one too far, you can undo it with,
.DEL
(backspace), on the other hand, is exactly the same ash
and<left>
in normal mode, and therefore useless. It's also really easy to hit. It's a big button and I'm sure we've all had a lot of practice with it.The text was updated successfully, but these errors were encountered: