]> Sergey Matveev's repositories - mmc.git/commitdiff
Move dlpane's tmux-related command outside
authorSergey Matveev <stargrave@stargrave.org>
Mon, 13 Mar 2023 19:05:15 +0000 (22:05 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 13 Mar 2023 19:05:15 +0000 (22:05 +0300)
cmd/dlpane
cmd/tmux.conf

index cadbf4ff9bd80516a5c4ce08c235fba995e05ecb..e9248414aeffb460d1053c954bd9e240aa2d8bd5 100755 (executable)
@@ -5,7 +5,6 @@ fileId=$(tmux show-buffer |
     fzf |
     cut -d" " -f1)
 [ -n "$fileId" ]
-tmux delete-buffer
 cmd="$(dirname "$(realpath -- "$0")")"
 state="$PWD"
 cd /tmp
index 2a19c28a48876a8e99db839f21a224025ea39b91..5750dc96e9f5714abddc962a60822eb810ef9f3f 100644 (file)
@@ -24,6 +24,7 @@ bind-key S new-window CATFILE
 bind-key D {
     capture-pane -t 0
     new-window DLPANE
+    delete-buffer
 }
 
 bind-key -n C-PgUp previous-window