aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}