Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete mark ' (single quote)

Tags:

vim

quote

I'm trying to delete the mark ' (single quote) but I dont know how. I'm doing delm \' but it doesn't work. I also tried every combination I could think of.

I realize this is more a Vim script question, but I couldn't find it anywhere.

like image 908
user925247 Avatar asked Feb 24 '23 02:02

user925247


2 Answers

Why do you want to delete that mark? It's an automatic one (excerpt from :he ''):

'' `` To the position before the latest jump, or where the
last "m'" or "m`" command was given. Not set when the
|:keepjumps| command modifier was used.
Also see |restore-position|.

like image 52
eckes Avatar answered Feb 25 '23 15:02

eckes


Don't understand the question, are you talking about markers (:help mark)? If so, ' is not a valid marker, vim only supports m{a-zA-Z} Well, ' is a marker but not a one you can delete/change.

' has special meaning in vim (:help ''):

''  ``          To the position before the latest jump, or where the
            last "m'" or "m`" command was given.
like image 22
Fredrik Pihl Avatar answered Feb 25 '23 16:02

Fredrik Pihl