From: Sergey Matveev Date: Mon, 13 Mar 2023 19:05:15 +0000 (+0300) Subject: Move dlpane's tmux-related command outside X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5961e859154568358a9a4039cae2e6f0f55a1239;p=mmc.git Move dlpane's tmux-related command outside --- diff --git a/cmd/dlpane b/cmd/dlpane index cadbf4f..e924841 100755 --- a/cmd/dlpane +++ b/cmd/dlpane @@ -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 diff --git a/cmd/tmux.conf b/cmd/tmux.conf index 2a19c28..5750dc9 100644 --- a/cmd/tmux.conf +++ b/cmd/tmux.conf @@ -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