Vim: Macro 'Recording @a' in status bar disappears after delete command

Created on 17 Jun 2019  路  3Comments  路  Source: VSCodeVim/Vim

To Reproduce
In '--NORMAL--' mode in a file with some content:

  1. Press qa to start recording a macro. The status bar now shows '--NORMAL-- Recording @a' as expected.
  2. Press dd to delete a line. The status bar will now disappear and only reappear until an insertion command is issued.

Expected behavior
'Recording \@a' should stay in the status bar until the next q is pressed, like in VIM.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.8.1
  • VSCode version: 1.35.1
  • OS: macOS 10.14.5
kinbug

All 3 comments

The Recording @X text (and the mode text) comes from ModeHandler._renderStatusBar. Seems to me these should be moved into the more general StatusBar.Set, which would fix this issue.

Thanks!

Sure thing, @th0rgall! This was a big annoyance for me as well. Some other status bar improvements will be coming in the next version too! The fix required a pretty major refactor though, so let me know if you see any strange behavior.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

orn688 picture orn688  路  3Comments

edwintorok picture edwintorok  路  3Comments

spinningarrow picture spinningarrow  路  3Comments

cckowin picture cckowin  路  3Comments

triztian picture triztian  路  3Comments