diff options
-rwxr-xr-x | sandbox/mu_run | 1 | ||||
-rw-r--r-- | sandbox/tmux.conf | 3 |
2 files changed, 3 insertions, 1 deletions
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 |