ivaaaan/smug

Feature: save current session

mipmip opened this issue · 1 comments

Print current session to stdout as yml. Print all windows and pane-layouts and per pane the current directory. Maybe even per pane every running command.

E.g.:

smug sess2yml [session-name]     Print current session to stdout as yml.
smug sess2yml this-session > ~/.config/smug/my-session.yml

Thanks for the feature request. A rough version of this in master. Sadly, it's quite limited, because tmux doesn't provide as much info as I wanted. Feel free to create a new issue for improvement or submit PR.