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 Sep 28, 2023
1 parent ba06371 commit e0a7247
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 @@ -892,7 +892,7 @@ impl EditorView {
std::num::NonZeroUsize::new(cxt.editor.count.map_or(i, |c| c.get() * 10 + 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 e0a7247

Please sign in to comment.