1

I have foo.txt on the left and a terminal on the right:

|-------|----------|
|foo.txt|ansi@term>|
|-------|----------|

How can I restore the layout of the windows with the same buffers displayed after reboot?

I'v installed https://github.com/ffevotte/desktop-plus and tried desktop+-load after desktop+-create which doesn't restore nor inform what's happening.

System Info :computer:
  • OS: gnu/linux
  • Emacs: 26.3
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
2
  • Try out winner-mode and see if that's what you need.
    – Dan
    Commented Mar 17, 2020 at 14:06
  • Thank you, I must restore the windows and buffers after each reboot which I could not find as a winner-mode feature
    – jjk
    Commented Mar 17, 2020 at 14:27

1 Answer 1

1

You could try psession package. I find it fills exactly my needs.

In your init file :

(psession-mode 1)
   ;; For saving minibuffer history,  as a replacement of savehist-mode.
   (psession-savehist-mode 1)
   ;; to save periodically (autosave) your emacs session,
   (psession-autosave-mode 1)

Best, Samusz

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.