working on #26, got column insertion working

This commit is contained in:
2025-11-13 17:24:13 -07:00
parent 755dbc70f1
commit 7c383028a3
6 changed files with 122 additions and 17 deletions

View File

@@ -160,8 +160,14 @@ impl Mode {
'r' => {
app.mode = Mode::Insert(Chord::from(String::new()));
}
'I' => { /* insert col before */ }
'A' => { /* insert col after */ }
// insert column before
'I' => {
app.grid.insert_column_before(app.grid.cursor());
}
// insert column after
'A' => {
app.grid.insert_column_after(app.grid.cursor());
}
'o' => { /* insert row below */ }
'O' => { /* insert row above */ }
'v' => app.mode = Mode::Visual(app.grid.cursor()),