summary refs log tree commit diff stats
path: root/getwtxt.go
Commit message (Expand)AuthorAgeFilesLines
* simplified formattingBen Morrison2019-06-081-3/+1
* moved bulk of code to its own package to clean up source treeBen Morrison2019-06-051-0/+9
box/mu_run?h=main&id=fa94f4d92340f001560b16dd0c2e5681ca5db031'>fa94f4d9 ^
e11bec57 ^
fa94f4d9 ^













1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
              
                                                              













                                                                 
#!/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
if [[ $ALREADY_FOCUSED -eq 0 ]]
then
  tmux select-pane -t 1
fi

tmux send-keys 'F4'

if [[ $ALREADY_FOCUSED -eq 0 ]]
then
  tmux last-pane
fi