From 181fc945288a828455220f7551c87f495c10590a Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 29 May 2017 12:01:37 -0600 Subject: Kill bottom pane after switching --- scripts/tmux_open_filename_in_vim.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 } -- cgit v1.2.3