tpope / vim-unimpaired

unimpaired.vim: Pairs of handy bracket mappings
https://www.vim.org/scripts/script.php?script_id=1590
3.31k stars 205 forks source link

Add support for marks #196

Closed jssee closed 4 years ago

jssee commented 4 years ago

It would be nice to have something like [m and ]m for cycling through marks in a buffer, and perhaps capital M variants too.

iforwms commented 4 years ago

These are already bound by default in vim.

[m / [M | Jump to beginning/end next of method ]m / ]M | Jump to beginning/end of previous method

tpope commented 4 years ago

More generally, the number of remaining free maps is small, and thus the value of any new ones I'm willing to consider must be extremely high. I don't think mark cycling makes the cut. It's not even clear to me which set of marks to include.