1

I'm looking for plugin which emulates marks behavior for longer key sequences. I want to be able to mark two distinct files with 3 char mappings and jump to files when sequence is typed. Do you know if it already exists or is part of some other plugin? I couldn't find anything and consider building it myself.

D. Ben Knoble
  • 26,070
  • 3
  • 29
  • 65
amonowy
  • 31
  • 3
  • 1
    I don't know such a plugin but I think it would be great to know why you want to do such a plugin? Are you already aware of the difference between 'a and 'A? Do you need more than 26 global marks plus 26 buffer local marks? Also did you look at this plugin maybe it could be helpful. – statox Jun 18 '20 at 07:06
  • 1
    Also, welcome to [vi.se]! – D. Ben Knoble Jun 18 '20 at 11:13
  • Yes I'm aware but problem is that its hard to remember 10 distinct mappings and where they lead to. Eg. I have 4 files: auth, assets, test_auth, test_assets. How to assign usual one key marks the way its easy to remember? – amonowy Jun 18 '20 at 18:05

1 Answers1

2

I couldn't find any plugin which emulates this behavior so I created one myself. If you are interested in such kind of behavior please check https://github.com/matmarczak/vim-longmarks.

amonowy
  • 31
  • 3