Pages

Showing posts with label tmux. Show all posts
Showing posts with label tmux. Show all posts

Wednesday, 26 April 2017

Tmate cheatsheet

If you detached tmate, you might want to re-attach by:
tmate -S /tmp/tmate-0/DpfNjI attach

Wednesday, 8 August 2012

tmux, gvim automation

tmux

List panes
tmux list-panes
Select a pane
tmux select-pane -t 0
Send Ctrl-P and Ctrl-N to pane #1
tmux send-keys -t 1 C-p C-m

gvim

you will need gvim to do these things

Start vim as a server
vim --servername "coding"
Send a message to vim
vim --servername "coding" --remote-send '<Esc>:!ls<CR>'