VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.78k stars 1.31k forks source link

Can not delete `space` mark #8921

Open listenerri opened 6 months ago

listenerri commented 6 months ago

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):

shinohara-rin commented 5 months ago

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.

J-Fields commented 2 months ago

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.