multi-cursor actions

This commit is contained in:
alice pellerin
2026-03-20 23:44:10 -05:00
parent 9906e76ab5
commit f81d220d93
4 changed files with 114 additions and 17 deletions
+14
View File
@@ -141,6 +141,13 @@ impl Default for Config {
("C-j".try_into().unwrap(), Action::PreviousBuffer),
("C-l".try_into().unwrap(), Action::NextBuffer),
("C".try_into().unwrap(), Action::CopySelectionOnNextLine),
("(".try_into().unwrap(), Action::RotateSelectionsBackward),
(")".try_into().unwrap(), Action::RotateSelectionsForward),
(",".try_into().unwrap(), Action::KeepPrimarySelection),
].into()),
(Some(PartialAction::Goto), [
("j".try_into().unwrap(), Action::GotoLineStart),
@@ -191,6 +198,13 @@ impl Default for Config {
("u".try_into().unwrap(), Action::Undo),
("U".try_into().unwrap(), Action::Redo),
("C".try_into().unwrap(), Action::CopySelectionOnNextLine),
("(".try_into().unwrap(), Action::RotateSelectionsBackward),
(")".try_into().unwrap(), Action::RotateSelectionsForward),
(",".try_into().unwrap(), Action::KeepPrimarySelection),
].into()),
(Some(PartialAction::Space), [
("w".try_into().unwrap(), Action::Save),