Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exwm keys are undefined #16642

Open
RidaAyed opened this issue Nov 5, 2024 · 3 comments
Open

exwm keys are undefined #16642

RidaAyed opened this issue Nov 5, 2024 · 3 comments

Comments

@RidaAyed
Copy link

RidaAyed commented Nov 5, 2024

Description :octocat:

exwm super keybindings are undefined upon installing exwm layer

Reproduction guide 🪲

  • Install Spacemacs from scratch: git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
  • Start Emacs: exec dbus-launch --exit-with-session emacs
  • Initialize dotfile: SPC SPC dotspacemacs/install RET
  • Hit SPC f e d to open the dotfile
  • Add exwm layer to the dotspacemacs-configuration-layers section of the dotfile
  • Restart Emacs
  • Hit s-k or s-<tab>

Observed behaviour: 👀 💔
Hitting s-k leads to s-k is undefined
Hitting s-<tab> leads to s-<tab> is undefined

Expected behaviour: ❤️ 😄
Hitting s-k switches window
Hitting s-<tab> switches to last workspace

System Info 💻

  • OS: gnu/linux
  • Emacs: 29.4
  • Spacemacs: 0.999.0
  • Spacemacs branch: develop (rev. 6581c82)
  • Graphic display: t
  • Running in daemon: nil
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(emacs-lisp helm multiple-cursors exwm treemacs)
  • System configuration features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB
@smile13241324
Copy link
Collaborator

Any error messages in your message buffer? Could be an issue with the changed init code for exwm there was a breaking change and I have just fixed the loading process but could not test it as I have moved to the wayland emacs build entirely.

@RidaAyed
Copy link
Author

RidaAyed commented Nov 8, 2024 via email

@fnussbaum
Copy link
Collaborator

fnussbaum commented Nov 17, 2024

It seems many of the keybindings listed in the exwm layer readme are not actually set by the layer (for example switching, moving and resizing windows). For the s-<tab> binding, one might just need to add the following:

    (exwm-input-set-key (kbd "s-<tab>")   #'exwm/jump-to-last-exwm)

here:

(exwm-input-set-key (kbd "s-TAB") #'exwm/jump-to-last-exwm)

(Probably similar additions or changes are necessary for the s-<SPC>, and s-<return> bindings below.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants