refactor(wpcarro/emacs): Move KBD to keybindings.el

This is part of a larger effort to remove the statements from
`window-manager.el` to convert it to a pure library.

Change-Id: I3078a9a73ec049704ac2dbbe822a6e57f4c9cf48
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5037
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2022-01-20 15:50:29 -08:00 committed by clbot
parent 64d623a06c
commit 7916a93ded
2 changed files with 2 additions and 2 deletions

View file

@ -27,6 +27,7 @@
(require 'pulse-audio) (require 'pulse-audio)
(require 'scrot) (require 'scrot)
(require 'ivy-clipmenu) (require 'ivy-clipmenu)
(require 'ivy-helpers)
(require 'general) (require 'general)
(require 'exwm) (require 'exwm)
(require 'vterm-mgt) (require 'vterm-mgt)
@ -172,6 +173,7 @@
(keybindings-exwm "M-x" #'counsel-M-x) (keybindings-exwm "M-x" #'counsel-M-x)
(keybindings-exwm "<M-tab>" #'window-manager-next-workspace) (keybindings-exwm "<M-tab>" #'window-manager-next-workspace)
(keybindings-exwm "<M-S-iso-lefttab>" #'window-manager-prev-workspace) (keybindings-exwm "<M-S-iso-lefttab>" #'window-manager-prev-workspace)
(keybindings-exwm "C-S-f" #'window-manager-toggle-previous)
(keybindings-exwm "C-M-\\" #'ivy-pass) (keybindings-exwm "C-M-\\" #'ivy-pass)
(keybindings-exwm "s-e" #'wpc-misc-copy-emoji) (keybindings-exwm "s-e" #'wpc-misc-copy-emoji)

View file

@ -222,8 +222,6 @@ Currently using super- as the prefix for switching workspaces."
window-manager--workspaces) window-manager--workspaces)
(window-manager--change-workspace (cycle-current window-manager--workspaces))) (window-manager--change-workspace (cycle-current window-manager--workspaces)))
(exwm-input-set-key (kbd "C-S-f") #'window-manager-toggle-previous)
(defun window-manager-toggle-previous () (defun window-manager-toggle-previous ()
"Focus the previously active EXWM workspace." "Focus the previously active EXWM workspace."
(interactive) (interactive)