From e57724d33f58e792008abefd8ce65e15c4d1550d Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Sun, 21 May 2023 14:59:05 -0600 Subject: [PATCH] docs: add note about custom search functionality it's not obvious that the docs/ folder exists if you are quickly viewing the repo. Custom searches is a really great feature. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad9a921..4528458 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This plugin enables: - regex searches (native support added in tmux 3.1) - search result highlighting -- predefined searches +- predefined searches` Predefined searches are plugin killer feature. It speeds the workflow and reduces mouse usage with Tmux. @@ -46,6 +46,12 @@ Searches are case insensitive.
These start "copycat mode" and jump to first match. +You can define [your own custom searches](/docs/defining_new_stored_searches.md) as well. Here's an example: + +```shell +set -g @copycat_search_C-l '[a-zA-Z0-9_./-]+$' +``` + #### "Copycat mode" bindings These are enabled when you search with copycat: