vim: Support for q and @ (#13761)
Fixes: #1504 Release Notes: - vim: Support for macros (`q` and `@`) to record and replay (#1506, #4448)
This commit is contained in:
parent
dceb0827e8
commit
3348c3ab4c
13 changed files with 491 additions and 316 deletions
|
@ -61,10 +61,11 @@ impl ModeIndicator {
|
|||
}
|
||||
|
||||
fn current_operators_description(&self, vim: &Vim) -> String {
|
||||
vim.state()
|
||||
.pre_count
|
||||
.map(|count| format!("{}", count))
|
||||
vim.workspace_state
|
||||
.recording_register
|
||||
.map(|reg| format!("recording @{reg} "))
|
||||
.into_iter()
|
||||
.chain(vim.state().pre_count.map(|count| format!("{}", count)))
|
||||
.chain(vim.state().selected_register.map(|reg| format!("\"{reg}")))
|
||||
.chain(
|
||||
vim.state()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue