From 7b7cf327abf789f0396be0b2da47a0612fae05b3 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Sun, 1 Dec 2019 16:17:33 +0700 Subject: [PATCH] Use ivy to switch workspaces when user uses ivy --- modules/config/default/+evil-bindings.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 31ea50ce7..599985089 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -298,7 +298,8 @@ (:when (featurep! :ui workspaces) (:prefix-map ("TAB" . "workspace") :desc "Display tab bar" "TAB" #'+workspace/display - :desc "Switch workspace" "." #'+workspace/switch-to + :desc "Switch workspace" "." + (if (featurep! :completion ivy) #'ivy/workspace/switch-to #'+workspace/switch-to) :desc "Switch to last workspace" "`" #'+workspace/other :desc "New workspace" "n" #'+workspace/new :desc "Load workspace from file" "l" #'+workspace/load