Home > Mobile >  How to get rid of ">>" on vim shows after modification
How to get rid of ">>" on vim shows after modification

Time:01-23

">>" would show up on the sidebar of the vim editor every time I press <jk> (i map them to esc) This happens in both zsh shell and MacVim app.

enter image description here

Even a deleting my .vimrc would not help can anyone please help me

CodePudding user response:

The following mapping will hide all signs (:h :sign) when you press jk to leave insert mode:

:imap jk <Esc>:sign unplace * group=*<CR>

This will solve the problem by hiding the sings (read: hide the problem).

However, this is a dirty hack at best. It would be far better to find out which program is annotating the file and turn it off there.

From the information provided in the question, there's no telling where the signs might come from.

  • Related