From e11bec57730f5bbcd9d6780c8dec0cbd4153c50f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 19 Jun 2017 17:31:29 -0700 Subject: 3929 --- sandbox/mu_run | 1 + sandbox/tmux.conf | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'sandbox') diff --git a/sandbox/mu_run b/sandbox/mu_run index 8d606fcd..b96cfd1c 100755 --- a/sandbox/mu_run +++ b/sandbox/mu_run @@ -1,4 +1,5 @@ #!/usr/bin/zsh +# Little bit of glue to support running Mu from Vim over tmux. export ALREADY_FOCUSED=0 tmux list-panes |grep "^1.*active" -q && export ALREADY_FOCUSED=1 diff --git a/sandbox/tmux.conf b/sandbox/tmux.conf index e5fa8b19..7816b1eb 100644 --- a/sandbox/tmux.conf +++ b/sandbox/tmux.conf @@ -1,2 +1,3 @@ -# hotkey for running Mu over tmux (assumes exactly two panes, './mu sandbox' running on the right/second window) +# Hotkey for running Mu over tmux +# Assumes exactly two panes, with vim running on the left side and `./mu sandbox` running on the right side. bind-key -n F4 run mu_run -- cgit 1.4.1-2-gfad0