Use ivy to switch workspaces when user uses ivy

This commit is contained in:
Rudi Grinberg 2019-12-01 16:17:33 +07:00
parent 4b77b413c5
commit 7b7cf327ab

View File

@ -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