[text-object/indent] feat: set default ]i [i to move indent scope

pull/14004/head
ktunprasert 2025-07-19 15:08:27 +01:00
parent e727650cb0
commit 0eddb61873
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"p" => goto_prev_paragraph, "p" => goto_prev_paragraph,
"x" => goto_prev_xml_element, "x" => goto_prev_xml_element,
"space" => add_newline_above, "space" => add_newline_above,
"i" => goto_indent_start,
}, },
"]" => { "Right bracket" "]" => { "Right bracket"
"d" => goto_next_diag, "d" => goto_next_diag,
@ -137,6 +138,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"p" => goto_next_paragraph, "p" => goto_next_paragraph,
"x" => goto_next_xml_element, "x" => goto_next_xml_element,
"space" => add_newline_below, "space" => add_newline_below,
"i" => goto_indent_end,
}, },
"/" => search, "/" => search,