From 7916a93dedead1278eb34ca5ae2ece6ab0e2ff2b Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 20 Jan 2022 15:50:29 -0800 Subject: 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 Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/emacs/.emacs.d/wpc/keybindings.el | 2 ++ users/wpcarro/emacs/.emacs.d/wpc/window-manager.el | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el index d6e9d60d113f..c6082ec704f5 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el @@ -27,6 +27,7 @@ (require 'pulse-audio) (require 'scrot) (require 'ivy-clipmenu) +(require 'ivy-helpers) (require 'general) (require 'exwm) (require 'vterm-mgt) @@ -172,6 +173,7 @@ (keybindings-exwm "M-x" #'counsel-M-x) (keybindings-exwm "" #'window-manager-next-workspace) (keybindings-exwm "" #'window-manager-prev-workspace) +(keybindings-exwm "C-S-f" #'window-manager-toggle-previous) (keybindings-exwm "C-M-\\" #'ivy-pass) (keybindings-exwm "s-e" #'wpc-misc-copy-emoji) diff --git a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el index bbc5f47e5fdc..364822b4ace4 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el @@ -222,8 +222,6 @@ Currently using super- as the prefix for switching workspaces." 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 () "Focus the previously active EXWM workspace." (interactive) -- cgit 1.4.1