aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-05-29 12:01:37 -0600
committerCody Hiar <codyfh@gmail.com>2017-05-29 12:01:37 -0600
commit181fc945288a828455220f7551c87f495c10590a (patch)
tree5af8b5e21aa063e34e8855b62d27761b6255e39f /scripts
parent49951644fc0f2999ad3aab3da0d7b177954ebca7 (diff)
Kill bottom pane after switching
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tmux_open_filename_in_vim.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/tmux_open_filename_in_vim.sh b/scripts/tmux_open_filename_in_vim.sh
index 6a799e4..b82c867 100755
--- a/scripts/tmux_open_filename_in_vim.sh
+++ b/scripts/tmux_open_filename_in_vim.sh
@@ -57,7 +57,8 @@ main() {
if [[ "$?" == 0 ]]; then
filename="${ARGS[0]}"
tmux send-keys -t "$pane" ":e $filename" Enter
- tmux select-pane -t "$pane"
+ tmux kill-pane
+ # tmux select-pane -t "$pane"
fi
done
}