Traveled for a while now I& #39;m back at "making my own spacemacs". Since last time I& #39;ve moved the .emacs file to an init.el and will be splitting the config down to individual el files. All progress will be kept in https://github.com/safijari/stupid-spacemacs">https://github.com/safijari/... https://twitter.com/safijari/status/1274062549843992576">https://twitter.com/safijari/...
M-x describe-variable followed by "major-mode" is a very useful tool so you can ensure the correct keybinds get set in the correct modes.
in helm-find-files I& #39;m used to expanding paths with TAB which isn& #39;t default behavior. This can be changed by doing the following (from https://github.com/emacs-helm/helm/issues/1630)">https://github.com/emacs-hel...
surround mode is good for protecting sanity, I bind this to a small s because I apparently want the world to burn
Ah, by default emacs wants you to type a full "yes" or "no", was driving me nuts. Here& #39;s the fix https://www.emacswiki.org/emacs/YesOrNoP ">https://www.emacswiki.org/emacs/Yes...
My 4000 line org file started to chug with line numbers enabled. https://elpa.gnu.org/packages/nlinum.html">https://elpa.gnu.org/packages/... paired with (global-nlinum-mode) fixes that. This was an issue I faced in #doomemacs as well.
For sane keybinds in org mode I& #39;m using evil-org-mode. The configuration is a bit complicated and I ended up swiping someone& #39;s from reddit. You need it enabled after org, and then enable it through org-mode& #39;s hook (and then further enable the keybinds once it& #39;s active)
It took me an embarrassingly long amount of time to figure out how to turn one or more function calls into a command that can be mapped by general. You define a function like so (has to be interactive) and then it can be referenced as & #39;load-config
And here& #39;s how to do it as a lambda