Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Timestamp

Customize how timestamps are displayed within a buffer.

Configuration

format

Controls the timestamp format. The expected format is strftime.

# Type: string # Values: any valid strftime string # Default: "%R" [buffer.timestamp] format = "%R"

context_menu_format

Controls the format of shown in a timestamp's context menu. The expected format is strftime.

# Type: string # Values: any valid strftime string # Default: "%x" [buffer.timestamp] context_menu_format = "%x"

copy_format

Controls the format used when copying the timestamp into the clipboard from its context menu. The expected format is strftime. If not set, then the timestamp is copied in the date and time of day in UTC using extended format ISO 8601:2004(E) 4.3.2 with millisecond precision as is utilized in IRCv3.

# Type: string # Values: any valid strftime string or not set # Default: not set [buffer.timestamp] copy_format = "%Y-%m-%d %H:%M:%S"

brackets

Brackets around timestamps.

# Type: string # Values: { left = "<any string>", right = "<any string>" } # Default: { left = "", right = "" } [buffer.timestamp] brackets = { left = "[", right = "]" }