diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-05-29 12:01:37 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-05-29 12:01:37 -0600 |
commit | 181fc945288a828455220f7551c87f495c10590a (patch) | |
tree | 5af8b5e21aa063e34e8855b62d27761b6255e39f /scripts/tmux_open_filename_in_vim.sh | |
parent | 49951644fc0f2999ad3aab3da0d7b177954ebca7 (diff) |
Kill bottom pane after switching
Diffstat (limited to 'scripts/tmux_open_filename_in_vim.sh')
-rwxr-xr-x | scripts/tmux_open_filename_in_vim.sh | 3 |
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 } |