Switch from vim to emacs mode in spacemacs
Asked Answered
G

2

21

When I first installed spacemacs it prompted me into deciding which mode I want it to be configured. I chose vim since I was already comfortable with it. But now I want to learn more about emacs shortcuts and keybindings. So I would like to get back to the emacs mode in spacemacs. How can I reconfigure my settings ?

Gallon answered 21/12, 2016 at 21:30 Comment(1)
There is also the hybrid style. Basically it is Vim but in insert state you get all the emacs key bindings. Hybrid style can be parameterized depending on where you want to put the cursor between Emacs style and Vim style, more info here: github.com/syl20bnr/spacemacs/blob/master/doc/…Levitation
W
35

If you just want to toggle between emacs and vim mode, you can just use CTRL z. It works in both modes.

Wiltshire answered 22/12, 2016 at 8:18 Comment(0)
C
13

in the configuration file, presumably ~/.spacemacs, alter the row

dotspacemacs-editing-style 'vim

to

dotspacemacs-editing-style 'emacs

Candlepin answered 21/12, 2016 at 21:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.