Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Libtmux – A tmux workspace manager in Python (git-pull.com)
86 points by tony on Dec 18, 2016 | hide | past | favorite | 8 comments


Might be able to make some cool neovim (or another text based editor) python plugins with this.


Perhaps like how the Kakoune text editor[0] (discussed a few days ago on HN [1]) uses tmux to manage panes (although that's C++ and just uses the Tmux client[2]).

[0]: http://kakoune.org/

[1]: https://news.ycombinator.com/item?id=13165919 (the article has a video of panes)

[2]: https://github.com/mawww/kakoune/blob/f7e2bfd76fc1629ffd4e16...


Just wondering what the use cases are for this? I can't imagine how I would make use of this.


It looks like it's been used to create tmuxp[0], a tmux session loader à la Teamocil[1].

[0]: https://tmuxp.git-pull.com/en/latest/ [1]: http://www.teamocil.com


This was exactly what i was looking for. With this, i have something like a console, to control the panes, windows

My biggest usecase right now is when i get dropped to a pdb shell, right now i call os.system("tmux split-window ..." ) with specific commands to either open up the source code of the last frame, or to open up a log file dump . Using libtmux would be easier and cleaner.


We're probably going to use it in our robotic software launcher which we are using instead of roslaunch [0]. Since the scripts are Python, it will be convenient to launch all processes in different windows within same session.

[0] http://wiki.ros.org/roslaunch


Tmux configuration GUI


[flagged]


This account has been posting a lot of unsubstantive comments like this. Please stop and re-read the guidelines:

https://news.ycombinator.com/newswelcome.html

https://news.ycombinator.com/newsguidelines.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: