0

The spacemacs documentation for creating a spacemacs file describes how to do so when using the vi editing mode.

How do I do this if I'm using traditional emacs keybindings?

1
  • You might want to add a link to point to the docs.
    – NickD
    Commented Feb 8, 2022 at 13:48

2 Answers 2

0

See this documentation page: https://www.spacemacs.org/doc/DOCUMENTATION.html#editing-styles

To switch to Emacs keybinding while in vi mode, use SPC t E e and for switching back to vi mode, use M-m t E e.

Note also that .spacemacs file is generated automatically - and inside there is a place where you can choose the keybinding to work with.

0

First of all, the ~/.spacemacs file is created for you on the first run of Spacemacs after installation. To edit the file, Spacemacs has provided a few key sequences.

  • SPC f e d should be used in vi mode.
  • M-m f e d whould be used with traditional emacs keybindings.

Both of these keybindings call the function spacemacs/find-dotfile which will edit the dotfile in the current window.

Your Answer

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

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