Back to Wezterm

CopyMode `MoveToStartOfNextLine`

docs/config/lua/keyassignment/CopyMode/MoveToStartOfNextLine.md

latest395 B
Original Source

CopyMode MoveToStartOfNextLine

{{since('20220624-141144-bd1b7c5d')}}

Moves the CopyMode cursor position to the first cell in the next line.

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

return {
  key_tables = {
    copy_mode = {
      {
        key = 'Enter',
        mods = 'NONE',
        action = act.CopyMode 'MoveToStartOfNextLine',
      },
    },
  },
}