Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show infobox to hint textobjects with mi and ma #1686

Prev Previous commit
Next Next commit
Better help text for arbitrary pair matching in textobject selection
  • Loading branch information
EpocSquadron committed Feb 27, 2022
commit c7f8e7892d98daecf0502e6b2faaa16cfc003e2e
2 changes: 1 addition & 1 deletion helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5418,7 +5418,7 @@ fn select_textobject(cx: &mut Context, objtype: textobject::TextObject) {
("f", "Function (tree-sitter)"),
("p", "Parameter (tree-sitter)"),
("m", "Matching delimiter under cursor"),
(" ", "Any opening or closing pair character"),
(" ", "... or any ascii character acting as a pair"),
EpocSquadron marked this conversation as resolved.
Show resolved Hide resolved
];

cx.editor.autoinfo = Some(Info::new(
Expand Down