Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm a tmux migrant and wanted functionality similar to tmux-navigator for vim. In short, it lets me bind the same key combination to change vim splits and tmux scripts that either switch panes or forward the input to the vim plugin that does one of the other. Say you have an empty pane, a pane with vim with two splits and a third pane pane all in a line. The first time the user wants to move focus, vim is not running so the script simply moves focus in tmux. The scond time the user presses the bind, it's passed to vim and the vim plugin sees you have a split to move to so you move focus between splits. The third press the plugin realizes that there are no more panes, so it moves you to the final tmux pane.
Hot to run a script on a keybind