Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
394 stars 44 forks source link

visual-fill-column-mode breaks persp. #110

Open roket1428 opened 4 years ago

roket1428 commented 4 years ago

When you switch between different workspaces with visual-fill-column-mode enabled, it breaks your layout on workspaces. Like it removes all the splits and shows only one and shows random buffer. Tested on both stable and latest 27x branches with vanilla emacs (only visual-fill-column and persp).

Bad-ptr commented 4 years ago

Well, you can try to use https://github.com/tlh/workgroups.el for storing/restoring window configurations. May be it will work (however it may work only for new window configs so you will lose all currently saved window configurations)

Install workgroups and add these lines to your configuration:

(with-eval-after-load "persp-mode-autoload"
  (setq wg-morph-on nil)
  (setq persp-use-workgroups t))