3 ms·
tmux is amazing. A really handy command is send-keys. I use a fullscreen split pane setup with VIM in one and elinks in the other. Inside my .vimrc: comman
by vectorpush 15y ago
tmux is amazing. A really handy command is send-keys. I use a fullscreen split pane setup with VIM in one and elinks in the other.
Inside my .vimrc:
command W :w<Bar>execute 'silent !tmux send-keys -t 1 C-r'<Bar>redraw!
This saves the buffer then sends ctr+r to pane 1 (elinks in my case), which causes a page refresh. It's very useful when debugging web scripts.