From 8a0fdace8a1328edd312b3da0ea51fd11948d661 Mon Sep 17 00:00:00 2001 From: cashmere Date: Wed, 18 Feb 2026 02:45:58 +0100 Subject: add SPC t s binding for flash-treesitter node selection Bind flash-treesitter under SPC t s to quickly select parent nodes of the syntax tree at point using labels. Useful for selecting entire functions, if-blocks, or argument lists with a single keystroke. --- config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index d97564d..012a983 100644 --- a/config.org +++ b/config.org @@ -4580,7 +4580,10 @@ ily <3. "a" '(embark-act :wk "embark") "u" '(undo-tree-visualize :wk "undo tree") - "P" '(consult-yank-from-kill-ring :wk "paste history")) + "P" '(consult-yank-from-kill-ring :wk "paste history") + + "t" '(:ignore t :wk "treesitter") + "ts" '(flash-treesitter :wk "flash treesitter")) (defun my/flash-enabled-p () (and (not (derived-mode-p 'magit-mode 'dired-mode 'ibuffer-mode)) -- cgit v1.3.1