We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e188d0b commit f2e1ba4Copy full SHA for f2e1ba4
sh/src/cli/vi/mod.rs
@@ -293,6 +293,9 @@ pub struct ViEditor {
293
last_nonmotion_command: Option<Command>,
294
last_search: Option<LastSearch>,
295
save_buffer: Vec<u8>,
296
+ /// 0 means the `edit_line`, from 1 on
297
+ /// its an index into the history starting
298
+ /// from the most recent command
299
current_command_in_history: usize,
300
}
301
0 commit comments