about summary refs log tree commit diff
path: root/init/nixos.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-10-31T09·29+0100
committerVincent Ambo <github@tazj.in>2019-02-10T20·43+0100
commit5b5f051b13633cec58e7daa0399085ffcdb1e430 (patch)
tree88c6ae48a8aeae1cd844caf4eea909cee7850d5a /init/nixos.el
parent2c5946163c03dfa9b12f9bc83697c593965d08cd (diff)
refactor: Reutilise multi-term commands for Alacritty buffers
In practice I never use multi-term, but it's nice to have the same
buffer selection functionality for Alacritty buffers.
Diffstat (limited to 'init/nixos.el')
-rw-r--r--init/nixos.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/nixos.el b/init/nixos.el
index f3cefea7f391..e0e832ce1584 100644
--- a/init/nixos.el
+++ b/init/nixos.el
@@ -63,6 +63,9 @@
                                          (interactive)
                                          (ivy-password-store "~/.aprila-secrets")))
 
+    ;; Add Alacritty selector to a key
+    (exwm-input-set-key (kbd "C-x t") #'counsel-switch-to-alacritty)
+
     ;; Toggle between line-mode / char-mode
     (exwm-input-set-key (kbd "C-c C-t C-t") #'exwm-input-toggle-keyboard)