spacemacs icon indicating copy to clipboard operation
spacemacs copied to clipboard

[Proposal] Spacemacs key bindings for regular users

Open tuhdo opened this issue 9 years ago • 21 comments

So, first we have evil-mode for Vim users; then we have holy-mode for Emacs users. Next, I propose a key binding layout for users of common editors out there, using ErgoEmacs keyboard layout: https://ergoemacs.github.io/gradual-adoption.html.

Let's call this mortal-mode, the mode in between evil and holy.

tuhdo avatar Apr 21 '15 14:04 tuhdo

Interesting idea, might also base the keybinds off of Sublime Text. That thought also reminds me that #101 could be realized in holy-mode as well as mortal-mode since they won't use evil.

trishume avatar Apr 21 '15 14:04 trishume

Since we have key bindings organized in layers with the leader, we have indeed the freedom to throw any layout in an evil state. We can call it sublime state or cua state or ergoemacs state. And then the xxxxxx-mode would basically do what holy mode does. At this point we have to think about the generalization of holy-mode.

BUT I want to keep things simple so no fancy (cond (xxxxxxx-mode) (holy-mode) or anything like this outside the holy-mode and xxxxxxxx-mode, never ever. We will find compromises instead, like we did for Helm buffers.

syl20bnr avatar Apr 21 '15 16:04 syl20bnr

BTW, nice idea @tuhdo :-)

syl20bnr avatar Apr 21 '15 16:04 syl20bnr

I tried to use my own config, based on ErgoEmacs, with Spacemacs. I removed all unnecessary stuff from the base spacemacs layer and left the solarized extension and few packages only, see spacemacs-bootstrap layer (I use it instead of my own distribution layer now). So, it turned to minimal Spacemacs config, which supports spacemacs core features.

boykov avatar May 19 '15 08:05 boykov

Any progress on this or plans for official integration?

Immortalin avatar Jul 02 '15 13:07 Immortalin

I note that instead of hypothetical mortal-mode one can use bootstrap-mode (in addition to his own emacs config with ErgoEmacs or something else). And I have mentioned how to easily create such minimalistic bootstrap-mode (Upd. Spacemacs has spacemacs-bootstrap layer now). I consider it as bootstrapping and organizing Spacemacs features that I can adopt to my own config.

boykov avatar Jul 03 '15 03:07 boykov

@boykov as far as I can see, your fork does no longer contain a spacecore branch and the eab-draft branch looks like a regular emacs-/holy-mode configuration (to my very untrained eye). Would you mind briefly pointing in the direction how such an integration (of ergoemacs and spacemacs) would work? Should this be realized as a layer and adding ergoemacs as a package? Or should one rather somehow extract the ergoemacs keybindings and use those?

(I'm returning to emacs after being disappointed by Atom & Co)

Foucl avatar Jul 24 '16 10:07 Foucl

@Foucl I've fixed the link in my comment. There is no spacecore branch now, I use spacemacs-bootstrap layer instead of it.

The main idea of my integration of ErgoEmacs and Spacemacs is to use bootstrapping and organizing Spacemacs features only. As you know Spacemacs is "community driven" distribution with two main options for keybindings: emacs and vim. As far as there is no ErgoEmacs community (or another one with non-standard keybindings) yet, I use my personal emacs config as spacemacs private layer.

boykov avatar Jul 24 '16 11:07 boykov

Related: #5429.

d12frosted avatar Oct 24 '16 19:10 d12frosted

I have been working on my own set of keybindings to bring Emacs more in line with Windows defaults. The attempt is here https://github.com/PhilipDaniels/windows-defaults, it is structured as a Spacemacs layer. Feedback welcome.

PhilipDaniels avatar Mar 16 '17 22:03 PhilipDaniels

@phillp thank you. I'm going to try this out and maybe I can recommend it to a co-worker who adds a lot of jira issues by manually copy pasting from Excel to instead use jira mode which is based on org.

Lack of Windows like keybindings is the only thing that was stopping me :)

codygman avatar Nov 03 '17 14:11 codygman

@PhilipDaniels Works great for me. Is there a plan to make this an official layer ? Mortal-mode sounds super cool

MarcusE1W avatar Jun 06 '18 14:06 MarcusE1W

@MarcusE1W There is no plan to integrate it into Spacemacs, at least, nobody has ever asked me. I actually stopped using Emacs/Spacemacs for all but vanilla editing about 6 months ago because I felt I was spending too much time configuring it and learning lisp compared to getting on with more productive things. The killer was when I built a new machine about 7 months later, installed Spacemacs, and found lots of packages I was using in my layers gave errors :-(

So I am not actively updating this package; if someone else wants to try and integrate it they are of course free to base their work on this. With Emacs 26 coming out, now might be a good time.

PhilipDaniels avatar Jun 06 '18 14:06 PhilipDaniels

@PhilipDaniels

Hmm, sorry to hear that Spacemacs was frustrating for you. I only use your layer a few days but so far am quite happy with it. No errors neither on Emacs 26.1

Currently I can't help with the layer as I have no idea about elisp, but maybe that improves.

Sometimes I change editors as well, so maybe on another day you give Spacemacs another try :wink: . Thanks for your effort with this layer.

MarcusE1W avatar Jun 07 '18 11:06 MarcusE1W

Would be cool to see simple keybinds based on something like micro. I also like the idea of naming it mortal mode however we would just need people to do the work

Renzix avatar Sep 18 '18 22:09 Renzix

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!

github-actions[bot] avatar Feb 29 '20 23:02 github-actions[bot]

It would be nice to have this implemented in Spacemacs by default.

shaund avatar Mar 17 '20 11:03 shaund

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!

github-actions[bot] avatar Mar 20 '21 20:03 github-actions[bot]

Let's keep this open, we could do something nice here by implementing a new evil state like we did with holy-mode.

syl20bnr avatar Mar 20 '21 22:03 syl20bnr

+1! As someone who has been using spacemacs off and on for a little while now, I think having something like an ergoemacs layer would be great! Having "normal" bindings would be nice especially for new users transitioning from other editors like VSC, Sublime, etc.

pyrareae avatar Jul 28 '21 22:07 pyrareae

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!

github-actions[bot] avatar May 01 '24 16:05 github-actions[bot]