From b398da1cf5d3bd7554afc8f8dcf001b18f3e9aa6 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Thu, 28 Jul 2022 08:16:19 +0200 Subject: [PATCH] [tmux] Add launcher based on current directory for lookmarks --- dot_tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_tmux.conf b/dot_tmux.conf index 6e1ca16..13600da 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -9,6 +9,7 @@ bind s split-window -v bind v split-window -h bind l list-sessions bind enter display-popup -E "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$(tmux display-message -p '#S')\$\" | fzf --reverse | xargs tmux switch-client -t" +bind b display-popup -E "lookmarks | grep $(basename $(pwd)) | fzf --reverse | xargs ~/bin/lookmarks" bind h select-pane -L bind j select-pane -D