CopyMode 'CycleMatchType'

Since: 20220624-141144-bd1b7c5d

Move the CopyMode/SearchMode cycle between case-sensitive, case-insensitive and regular expression match types.

local wezterm = require 'wezterm'
local act = wezterm.action

return {
  key_tables = {
    search_mode = {
      { key = 'r', mods = 'CTRL', action = act.CopyMode 'CycleMatchType' },
    },
  },
}