this post was submitted on 01 Nov 2023
1 points (100.0% liked)

Emacs

310 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

How to setup Doom Emacs to be able to delete a word using +?

Left Option does work out-of-the-box.

I also tried to achieve by setting

(global-set-key (kbd "") 'backward-kill-word)
(global-set-key (kbd "") 'backward-kill-word)

but it didn't help.

top 1 comments
sorted by: hot top controversial new old
[–] yramagicman@alien.top 1 points 1 year ago

It's been a minute since I've used Macos, but if memory serves correctly, Macos doesn't send the key code corresponding to meta when you hit the option key, so that's probably part of the challenge. I know iTerm2 had an option to fix that when I was using Macos, but I'm not sure if that's still true.

Some quick research reveals this article on the Emacs Wiki with some hints. https://www.emacswiki.org/emacs/MetaKeyProblems