Files
LLeMbas-TTY/docs/config/lua/keyassignment/CopyMode/PriorMatch.md
T

22 lines
355 B
Markdown

# CopyMode 'PriorMatch'
{{since('20220624-141144-bd1b7c5d')}}
Move the CopyMode/SearchMode selection to the previous matching text, if any.
```lua
local wezterm = require 'wezterm'
local act = wezterm.action
return {
key_tables = {
search_mode = {
{ key = 'Enter', mods = 'NONE', action = act.CopyMode 'PriorMatch' },
},
},
}
```