5

As the title suggests, I would like to use spacemacs like keybindings in plain vanilla evil emacs.

The spacemacs key bindings are very intuitive. But the package is too heavy for my low-end laptop. Even simple operations take a long time. So, I am trying to see if there is an intermediate solution.

1
  • 1
    The easiest thing to do is probably just to type C-h m aka M-x describe-mode and see all the stuff that is active (e.g., minor-modes) and start disabling those that you can live without. Can can also run the profiler and see what functions are the most costly and disable the stuff that is a hog -- M-x profiler-start, do some stuff, M-x profiler-report, read about it, and then M-x profiler-stop. Also, you may wish to inspect things that get called every command loop by calling C-h v or M-x describe-variable -- post-command-hook, pre-command-hook.
    – lawlist
    Jul 19, 2018 at 7:09

1 Answer 1

2

You should take a look at the general package. It allows to to create “definers” which let you use a prefix key like “space”. From there you just need to add the bindings that you liked from Spacemacs.

6
  • Thanks. It is, indeed, a very useful package. Instead of me reinventing the wheel, is there somewhere that the keybindings mimicking spacemacs are available? I will just import that file.
    – deshmukh
    Jul 24, 2018 at 12:40
  • I don’t know anywhere official, but there might be a gist out there. Problem is that lots of those keybindings are for packages that you would have to install first. Jul 24, 2018 at 12:44
  • Or comment out the ones I don't need :)
    – deshmukh
    Jul 24, 2018 at 13:55
  • 1
    This might get you started. gist.github.com/adham90/… Jul 24, 2018 at 13:59
  • 1
    I hear you. Perhaps if you create them you can post a gist 👍 Jul 25, 2018 at 5:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.