about summary refs log tree commit diff
path: root/users/wpcarro
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-01-20T23·50-0800
committerclbot <clbot@tvl.fyi>2022-01-27T06·00+0000
commit7916a93dedead1278eb34ca5ae2ece6ab0e2ff2b (patch)
treea30afcfa71e70b73b388c2c0c6b84b3d7ad47c09 /users/wpcarro
parent64d623a06c0d3e141eed02d45231b8b3c3437540 (diff)
refactor(wpcarro/emacs): Move KBD to keybindings.el r/3684
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
Diffstat (limited to 'users/wpcarro')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/keybindings.el2
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/window-manager.el2
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 "<M-tab>" #'window-manager-next-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 "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)