2 ms·
This "integration" between vim and tmux seems like a misfeature. It is poorly thought out and I'm not surprised it could exhibit such a bug. I don't want tmux
by asveikau 7y ago
This "integration" between vim and tmux seems like a misfeature. It is poorly thought out and I'm not surprised it could exhibit such a bug. I don't want tmux sending input to vi based on an unrelated action. Just as I wouldn't expect it to know what program was in the foreground and make lots of assumptions about how it works.
- jolmg 7y agoWasn't it backwards? It's a vim plugin, so that vim knows it's running inside tmux. Honestly, I'm not sure which is worse, but I do agree that either integration would be misfeature.
- GrinningFool 7y ago> I don't want tmux sending input to vi based > on an unrelated action. Just as I wouldn't > expect it to know what program was in the > foreground and make lots of assumptions about > how it works Architecturally, I agree. I don't want those things either. It's messy. Practically, I find that I'm way more efficient with the messy integration enabled.
- saidajigumi 7y agoTo be honest, I hit my tl;dr threshold on the article, and skimmed only the high level. But speaking personally, I've used vim-tmux-navigator[1] and some related setup on the tmux side[2a][2b] for years, and it's really, really nice. CTRL-{H,J,K,L} navigates seamlessly between vim splits and tmux panes. It works flawlessly, and I wouldn't be without it. Put another way, there are a lot of tmux users who take advantage of it for its terminal pane management features on a local environment rather than the classic remote-session stability use case ala screen. In that light, some kinds of integration make a ton of sense. These days, it vaguely annoys me that I can't just navigate between OS (macOS, here) windows by keyboard just as seamlessly. I haven't quite gotten around to solving the problem with Hammerspoon[3] yet. [1]: https://github.com/christoomey/vim-tmux-navigator https://github.com/christoomey/vim-tmux-navigator [2a]: https://github.com/jwhitley/dotfiles/blob/master/.tmux.conf#L89 https://github.com/jwhitley/dotfiles/blob/master/.tmux.conf#... [2b]: https://github.com/jwhitley/tilde-local/blob/master/local/bin/tmux-nav-pane https://github.com/jwhitley/tilde-local/blob/master/local/bi... [3]: http://www.hammerspoon.org/ http://www.hammerspoon.org/