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
keybind = ctrl+space>n=text:nvim .
keybind = ctrl+space>n=text:nvim .
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.