Use COMP_WORDBREAKS for completion word breaking, fix cursor row in vi command mode, and append completion suffix instead of replacing full token

This commit is contained in:
2026-03-13 11:18:57 -04:00
parent 5500b081fe
commit a46ebe6868
3 changed files with 25 additions and 14 deletions

View File

@@ -1055,6 +1055,7 @@ impl ShedVi {
let pending_seq = self.mode.pending_seq().unwrap_or_default();
write!(buf, "\n: {pending_seq}").unwrap();
new_layout.end.row += 1;
new_layout.cursor.row += 1;
}
write!(buf, "{}", &self.mode.cursor_style()).unwrap();