mrjones2014 / ctrlg

A command line context switcher, written in Rust :crab:
https://crates.io/crates/ctrlg
MIT License
30 stars 1 forks source link

[Feature]: add an option to use `pushd && $EDITOR && popd`, only in current tmux pane #59

Closed mrjones2014 closed 2 years ago

mrjones2014 commented 2 years ago

Similar Issues

Description

Sort of like a one-off cd. This would only apply to current tmux pane. Instead of cding to the directory in all tmux panes, it would do pushd selected/dir/ && $EDITOR && popd, only in current tmux pane.

Use Case

This would be useful for monorepos where you want to open $EDITOR to a sub-project but keep other tmux panes in current directory.