tmux two bind-key -


I try the bound key for tmux with two keys, like

  Bind- I bind in my  ~ / .tmux.conf   
  -    key V partition window "~ / .tmux / tmux-v.sh "  

and this script tmux-v.sh

  #! / Bin / bash read -n 1 input case IN $ input s) tmux split-window 'vim + VimShell' ;; S) tmux new window 'wim + vamschell' ;; *) Tmux new window "Wim" ;; ASK   

This is the job, but this solution divides the window.

I need to type command prompt and run-shell but ENTER

any suggestions?

Try this:

  left-to-send-keys "~ / .tmux / tmux-v.sh "\; Send "key" to the send-key    

Comments