0

Basically, I like marks.

I'd like to save/keep my marks either in the file, or as a project configuration, is there an extension or a way to do so?

I know that the project or file based settings are frowned upon, so I should mention this is for my own personal projects only.

2
  • 2
    Have you tried uppercase marks? mA and 'A are persistent between two restarts of Vim. The difference with lowercase marks is that the uppercases marks are shared between files (so if you set mA on file1 and then mA on file2 you will lose the mark on file1)
    – statox
    May 4, 2023 at 9:56
  • 1
    See :help mksession and :help viminfo
    – mattb
    May 4, 2023 at 22:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.