daviwil / emacs-from-scratch

An example of a fully custom Emacs configuration developed live on YouTube!
https://youtube.com/c/SystemCrafters
1.74k stars 303 forks source link

Config without evil #13

Open denismaier opened 3 years ago

denismaier commented 3 years ago

Hi, thanks for your config and your nice tutorialas. What would be needed to use this configuration without evil mode?

daviwil commented 3 years ago

Hi @denismaier! You can remove anything Evil-related from this configuration and it will work fine. For example the evil-mode and evil-collection package customizations (you can add :disabled to those use-package blocks) and any usages of evil-collection-* commands. I'm not sure if general.el will stop operating correctly if you do this, so I'll be interested to hear if you try this and have trouble with it.

denismaier commented 3 years ago

@daviwil Ok, I've disabled everything related to evil-mode, and it's working fine. (I've only added everything up to the fourth stream, so I don't know if there are unwanted effects with regard to things added in later streams.) Anyway, the C-SPC keybindings from general.el don't work without evil-mode, I guess because set-mark-command is somewhere higher in the hierarchy of keybindings. But if you change that to C-c it's working as expected. (Maybe M-Spc could work as well. Need to test... Edit: No, doesn't work if you don't unbind the existing binding first.)