Commit Graph

13 Commits

Author SHA1 Message Date
Henrik Lissner
458cdd5df4
ui/workspaces: remove extra workspaces when restoring sessions 2019-12-22 19:59:22 -05:00
Bart Brouns
1adbd4e571 add confirmation message after loading a session from file 2019-10-27 14:12:41 +01:00
Henrik Lissner
da7aef9a4c
Move --restore handler to init.el #1893 2019-10-14 02:54:29 -04:00
Henrik Lissner
fa051797f2
Move --restore handler to autoload/sessions 2019-10-07 12:56:53 -04:00
Henrik Lissner
4c0eb989fb
Fix duplicate paths in initial input for doom/save-session
Forgot to do this in 3e3808aa8
2019-09-13 22:00:34 -04:00
Henrik Lissner
3e3808aa8d
Fix duplicate paths in initial input for doom/load-session 2019-09-12 17:25:54 -04:00
Henrik Lissner
48415edce3
Fix #1644: --restore switch not recognized 2019-08-08 23:30:16 -04:00
Henrik Lissner
060ede0e2e
General, minor reformatting across the board
And an offering of blood to our great lord Byte Compiler-sama.
2019-07-22 02:37:45 +02:00
Henrik Lissner
6b69eaa397
Minor refactors across the board 2019-04-26 17:42:44 -04:00
Henrik Lissner
cc20b28c26
Restore session later on restart-and-restore
So Doom has enough time to initialize before tryhing to restore the last
session.
2019-03-22 14:14:03 -04:00
Henrik Lissner
fbcb4e6973
Minor refactor across the board 2019-03-04 20:47:26 -05:00
Henrik Lissner
80607ff033
Confirm quit on doom/restart-and-restore 2019-03-02 03:06:29 -05:00
Henrik Lissner
8a90f29c91
Make session persistence module agnostic
They've been removed from feature/workspaces and moved into
core/autoload/sessions, which falls back to desktop.el if persp-mode
isn't present. This also offers a substantial speed up to
restart+restoring and restoring sessions in general.

Also fixes #1210, where the newly spawned frame after doom/restart
wasn't focused.

Introduces the following commands:

- doom/restart
- doom/restart-and-restore
- doom/quickload-session
- doom/quicksave-session
- doom/load-session
- doom/save-session
- +workspace/restore-last-session (alias for doom/quickload-session)

And removes

- +workspace/load-session
- +workspace/save-session
- +workspace/load-last-session (renamed to +workspace/restore-last-session)
- +workspace/restart-emacs-then-restore (replaced by doom/restart-and-restore)
- :ss (ex command)
- :sl (ex command)
2019-03-02 01:34:19 -05:00