Fix workspace restore/load workspace keybinds

As well as keybind on dashboard.
This commit is contained in:
Henrik Lissner 2018-07-04 13:40:44 +02:00
parent e8945b2142
commit 00e23db0b0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 3 deletions

View file

@ -530,15 +530,15 @@
:desc "Display tab bar" :n [tab] #'+workspace/display
:desc "New workspace" :n "n" #'+workspace/new
:desc "Load workspace from file" :n "l" #'+workspace/load
:desc "Load last session" :n "L" (λ! (+workspace/load-session))
:desc "Load last session" :n "L" #'+workspace/load-session
:desc "Save workspace to file" :n "s" #'+workspace/save
:desc "Autosave current session" :n "S" #'+workspace/save-session
:desc "Switch workspace" :n "." #'+workspace/switch-to
:desc "Kill all buffers" :n "x" #'doom/kill-all-buffers
:desc "Delete session" :n "X" #'+workspace/kill-session
:desc "Delete this workspace" :n "d" #'+workspace/delete
:desc "Load session" :n "L" #'+workspace/load-session
:desc "Rename workspace" :n "r" #'+workspace/rename
:desc "Restore last session" :n "R" (λ! (+workspace/load-session))
:desc "Next workspace" :n "]" #'+workspace/switch-right
:desc "Previous workspace" :n "[" #'+workspace/switch-left
:desc "Switch to 1st workspace" :n "1" (λ! (+workspace/switch-to 0))

View file

@ -37,7 +37,7 @@ Possible values:
:when (and (bound-and-true-p persp-mode)
(file-exists-p (expand-file-name persp-auto-save-fname
persp-save-dir)))
:key "SPC TAB r"
:key "SPC TAB R"
:face '(:inherit (font-lock-keyword-face bold))
:action (+workspace/load-session))
("See agenda for this week"