Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Can not delete `space` mark

Open listenerri opened this issue 11 months ago • 1 comments

Describe the bug If the space mark is set (which is not possible in native vim), there seems to be no way to remove it

To Reproduce Steps to reproduce the behavior:

  1. Enable vim.showMarksInGutter settings
  2. Go to any line of the currently open file
  3. Press m <space>
  4. The mark space is displayed to the left of the current line
  5. There is no way to remove it, even run vim cmd :delmarks!

Expected behavior Disable the space mark, or allow vim cmd :delmarks! to remove it

Screenshots

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.27.2
  • VSCode version: v.1.87.0
  • OS: Windows 11

listenerri avatar Mar 04 '24 02:03 listenerri

This is also true for - mark, where trying to delete it with :delmarks - will only result in parsing error, since delmarks only expect - to appear in between alphabet letters.

shinohara-rin avatar Mar 26 '24 23:03 shinohara-rin

As far as I can tell, Vim does not support a <Space> mark. The fact that m works with it is the problem, not that :delmarks! doesn't.

Same with -; that's not a valid mark.

J-Fields avatar Jul 01 '24 14:07 J-Fields