tmux
List panestmux list-panesSelect a pane
tmux select-pane -t 0Send 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 servervim --servername "coding"Send a message to vim
vim --servername "coding" --remote-send '<Esc>:!ls<CR>'
No comments:
Post a Comment