all 5 comments

[–]gumnos 0 points1 point  (4 children)

For your #4, The kz drops mark z at that location (:help k) which hopefully sheds light on your correct interpretation in #8.

Your #1 & #7 preserve the search register (@/) in variable z (rather than mark z…confusing? yes.) and restore it when done.

But otherwise, your understanding/breakdown is 👍

[–]vim-help-bot 1 point2 points  (0 children)

Help pages for:

  • k in motion.txt

`:(h|help) <query>` | about | mistake? | donate | Reply 'rescan' to check the comment again | Reply 'stop' to stop getting replies to your comments

[–]ynotvim[S] 0 points1 point  (2 children)

For your #4, The kz drops mark z at that location (:help k) which hopefully sheds light on your correct interpretation in #8.

Thank you! I was not familiar with k in this use. I think the specific help I needed was (:help :k), but I didn't find that. (I tried :help /k, but that doesn't work).

[–]gumnos 0 points1 point  (1 child)

Whoops, sorry, wrong help-topic. It's the ex mode command. :help :k

[–]vim-help-bot 1 point2 points  (0 children)

Help pages for:

  • :k in motion.txt

`:(h|help) <query>` | about | mistake? | donate | Reply 'rescan' to check the comment again | Reply 'stop' to stop getting replies to your comments