CopyMode { MoveForwardSemanticZone = ZONE }

Since: 20220903-194523-3bb1ed61

Moves the CopyMode cursor position to the next semantic zone of the specified type that follows the current zone.

See Shell Integration for more information about semantic zones.

Possible values for ZONE are:

  • "Output"
  • "Input"
  • "Prompt"
local wezterm = require 'wezterm'
local act = wezterm.action

return {
  key_tables = {
    copy_mode = {
      {
        key = 'Z',
        mods = 'ALT',
        action = act.CopyMode { MoveForwardZoneOfType = 'Output' },
      },
    },
  },
}