Sublime Forum

Vintage (vim) and bookmarking

#1

To bookmark in Vintage mode:

ma (marks bookmark to “a”)

To travel to the bookmark “a”

'a

But it doesn’t work in Vintage mode… anybody know about this?

0 Likes

#2

Try a backquote (grave accent) instead:

`a
0 Likes

#3

[quote=“guillermooo”]Try a backquote (grave accent) instead:

`a

That worked, thanks. Will have to get used to this one esp after using VIM for over 15+ years.

0 Likes

#4

The keybindings are also 100% customizable, so you could just add 'a maybe?

0 Likes

#5

Actually, the semantics are different between ’ and in Vim... I'd like for both to work also because because typing in my Spanish keyboard is cumbersome. I haven’t tried remapping ’ as adzenith suggests, but it might work.

0 Likes

#6

It seems like moving to marks doesn’t work with delete (‘d’) or yank (‘y’) and potentially other commands with movement modifiers. Is the ` not considered a motion command? Could it be/is it easy to modify for myself. A common technique would be to mark the end of a function and then delete from the beginning of the function to that mark. This doesn’t seem to be possible unless I’m doing something wrong.

Also the `` command which is supposed to take you to the position before the last jump doesn’t seem to work.

0 Likes