Skip to content

Commit

Permalink
Remap . to v until helix-editor#1488 is solved
Browse files Browse the repository at this point in the history
  • Loading branch information
moparisthebest committed Mar 26, 2024
1 parent d4b4670 commit ba8c59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/ui/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ impl EditorView {
cxt.editor.count = NonZeroUsize::new(i);
}
// special handling for repeat operator
(key!('.'), _) if self.keymaps.pending().is_empty() => {
(key!('v'), _) if self.keymaps.pending().is_empty() => {
for _ in 0..cxt.editor.count.map_or(1, NonZeroUsize::into) {
// first execute whatever put us into insert mode
self.last_insert.0.execute(cxt);
Expand Down

0 comments on commit ba8c59c

Please sign in to comment.