diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-06-19 17:31:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-06-19 17:31:29 -0700 |
commit | e11bec57730f5bbcd9d6780c8dec0cbd4153c50f (patch) | |
tree | c4641d591166054cca477befe21839df9c93e5e6 /sandbox | |
parent | a59f20f8669c7bdd21166e918bd74493e46c0400 (diff) | |
download | mu-e11bec57730f5bbcd9d6780c8dec0cbd4153c50f.tar.gz |
3929
Diffstat (limited to 'sandbox')
-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 |