Skip to content

Insert str action#784

Merged
HalFrgrd merged 6 commits into
masterfrom
insert_str_action
Jul 5, 2026
Merged

Insert str action#784
HalFrgrd merged 6 commits into
masterfrom
insert_str_action

Conversation

@HalFrgrd

@HalFrgrd HalFrgrd commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Adds support for a new custom action insertString that allows inserting a literal string of characters into the command line buffer.

  • New Action (insertString): Introduces KeyEventAction::InsertString(String) to insert arbitrary literal text into the editor.
  • Parsing support: Supports parsing string literals enclosed in single or double quotes, and handles escaped characters (e.g. \n, \t, \r, \xHH).
  • Autocompletion: Registers tab-completion candidates for insertString(value) when binding keys.
  • Deduplication and Conflict Checking: Integrates custom action display formatting so that bindings show up as insertString(value) in help tables and conflict lists.

@HalFrgrd HalFrgrd force-pushed the insert_str_action branch from d475116 to be537f9 Compare July 5, 2026 15:21
@HalFrgrd HalFrgrd linked an issue Jul 5, 2026 that may be closed by this pull request
@HalFrgrd HalFrgrd merged commit 9178298 into master Jul 5, 2026
@HalFrgrd HalFrgrd deleted the insert_str_action branch July 5, 2026 15:55
@HalFrgrd HalFrgrd restored the insert_str_action branch July 5, 2026 16:11
@HalFrgrd HalFrgrd deleted the insert_str_action branch July 5, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support inserting/submitting text via key binding

1 participant