3 ms·
I started using tmux recently, and have two life-changing tweaks to share if you're a vim user: a) A single keyboard shortcut to navigate between both panes an
by akkartik 12y ago
I started using tmux recently, and have two life-changing tweaks to share if you're a vim user:
a) A single keyboard shortcut to navigate between both panes and vim windows in a single tmux workspace: http://www.reddit.com/r/vim/comments/22ixkq/navigate_around_vim_and_tmux_panes_painlessly/cgnnnai?context=2 http://www.reddit.com/r/vim/comments/22ixkq/navigate_around_...
b) Send a region from vim to a tmux/screen window: https://github.com/jpalardy/vim-slime https://github.com/jpalardy/vim-slime
The combination of these gives me a nice environment for lisp hacking without needing to switch to emacs.
- stormbrew 12y ago> a) A single keyboard shortcut to navigate between both panes and vim windows in a single tmux workspace ... I really wish I could get this for tmux + i3wm. I haven't really looked for a way to achieve it yet, though.
- siddboots 12y agoLooks like we're using the same setup. I'm using ctrl+hjkl to navigate tmux and vim panes, and winkey+hjkl to navigate i3wm windows.
- AjithAntony 12y ago> a) A single keyboard shortcut to navigate between both panes and vim windows in a single tmux workspace: Oh man you got my hopes up. This would be lifechanging if my tmux session was running on the same machine that vim was running. "#{pane_current_command}" is almost always ssh for me.
- xiaq 12y agoRun tmux on remote machines too. Assign different prefix keys for local and remote sessions. Has been working well for me.
- thirdtruck 12y agoThis long-time vim user thanks you.