I've been using vim/Neovim since 1999, and the amount of muscle memory that I've built up is deeply ingrained. I'm thinking that it may be time to branch out a bit and try my hand at emacs. How would you recommend dipping my toes into the emacs tackle box?

all 8 comments

sorted by: hot top controversial new old
[–] 5 points 2 months ago

I came from vim, but the emacs shortcuts felt more natural gradually, and I never got into evil-mode too much. It did take a bit to be completely comfortable.

You can always check what a key does by C-h k, which is useful throughout.

  • source
  • [–] 4 points 2 months ago

    Grab Doom Emacs, it has evil-mode very well integrated and the space bar leader key setup should come natural.

    I've used Emacs for a while now (since '89 or so) but had to learn vi really well as I spent most of the '90s on all sorts of Unix machines that invariably had vi (or ex, and ed, of course) and never Emacs, so I got to appreciate the friendliness of the modal model of interaction over Emacs' use of lots-of-modifier-keys. I think it's more ergonomic, even though it's not always perfect at times, so I use a mixture.

    Oh, and swap Ctrl and Caps Lock. That Caps Lock key has no business sitting where it sits on the PC keyboard, that's what you get when a typewriter factory starts building computers. Thanks, IBM. For Emacs especially I feel it makes the modifier combinations a bit easier on the left hand.

  • source
  • [–] 4 points 2 months ago* (last edited 2 months ago) (1 child)

    Big caveat here: emacs was always my primary editor, and while I've used vim to a more-limited degree, I haven't put the kind of time into it to have me personally aiming to reproduce vim UI stuff. So this is not from personal experience.

    My suspicion is that trying to switch over all of emacs to vim-style conventions is going to be a chore. Like, there are definitely packages that do some of that, but they aren't going to do 100% of emacs and all of its package library.

    However, there are people who do do a lot of this. My understanding from skimming things like /r/emacs on Reddit has been that Doom Emacs is a popular way "big makeover" to go for vimmers.

    The core, most-modern package for vim emulation---there have been several packages to provide vi-like and vim-like behavior---is evil-mode.

  • source
  • hideshow 1 child comment
  • [–] 3 points 2 months ago

    ditching vim bindings is taking a step backwards.

    Vim bindings are objectively both more productive and more ergonomic. So use evil mode anyway (doom emacs has it by default)

    I can't give you a details 1:1 migration guide since I'm trying this myself and still don't know some stuff about emacs.

    1. Doom is pretty good, start with it
    2. Forget about other emacs stuff like email, irc client, games, wm, etc. Focus on editing and development part
    3. Emacs has "modes" which are not like vim modes (insert, visual, normal). They give you new "abilities" that are related to that file or buffer you are working with.
    4. Expect emacs to be much slower and more laggy than Neovim
  • source
  • [–] 2 points 2 months ago* (last edited 2 months ago) (2 children)

    Sure! The first thing you'll need to know is that :qa! is how you close without saving, haha. ...wait, you want to migrate "from" vim!!! [recoils in horror]

  • source
  • hideshow 2 child comments
  • [–] [S] 3 points 2 months ago (1 child)

    Not necessarily migration, but just developing a familiarity with it. I'm assuming that after 27 years of vim, my brain is going to react like it's witnessed the Color Out of Space.

  • source
  • parent
  • hideshow 1 child comment