christoomey / vim-tmux-navigator

Seamless navigation between tmux panes and vim splits
MIT License
5.07k stars 319 forks source link

[feature request] support for :only #384

Closed karshPrime closed 2 months ago

karshPrime commented 2 months ago

To have a keybind (or a command) to close all other panels other than the one selected irrespective of whether they're vim or tmux panels. Basically vim's :only functionality with tmux integration.

christoomey commented 2 months ago

Hey @karshPrime - appreciate the thought, but I try to keep the functionality here as focused as possible so not looking to add additional commands / features.

karshPrime commented 2 months ago

To anyone else in the future with a similar question, I've written a basic plugin to achieve this: only-tmux.nvim.