WezTerm with vertical (side) tab bar — Nix flake; based on #3537 / PR #7574
wezterm docs config lua keyassignment CopyMode MoveToEndOfLineContent.md
408 B · 25 lines
Markdown
at main

CopyMode MoveToEndOfLineContent #

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

Moves the CopyMode cursor position to the last non-space cell in the current line.

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

return {
  key_tables = {
    copy_mode = {
      {
        key = '$',
        mods = 'NONE',
        action = act.CopyMode 'MoveToEndOfLineContent',
      },
    },
  },
}