niche ghostty question...
I want to make a keybind to open my dev environment on ghostty (without tmux) so far i've figured out how to do all my keybinds and even set a keybind to display text however I can't figure out how to escape text to add another command after the text.... here's what I mean
after nvim . I want to escape the text sequence press enter then enter more commands, for me personally persistent environments would be nice but aren't necessary required for what I want. as you can see the goal is, if ghostty gets close in my cmd+q spree I can simply press the keybind to launch nvim again as well as open my necessary splits.
i know it's incredibly niche question lol.
2 Replies
you could use bash script that would be run on press of the keybinding
And if you dont want to use tmux you can use GNU screen but know that tmux was made to replace GNU screen and is much better for your use case if you don't like the green bar at the buttom you can use theme to change and there are themes that even allow you to toggle it to hide it completely. If you want to see simple tmux setup to do that here you have mine: https://github.com/mattsivak/dotfiles/blob/main/.tmux.conf
GitHub
dotfiles/.tmux.conf at main · mattsivak/dotfiles
All of my configs, that i use with stow. Contribute to mattsivak/dotfiles development by creating an account on GitHub.