justinmk / vim-sneak

The missing motion for Vim :athletic_shoe:
http://www.vim.org/scripts/script.php?script_id=4809
MIT License
3.26k stars 88 forks source link

Request: Do not change the input ordering of sneak#target_labels (if unintentional) #251

Closed dseeni closed 4 years ago

dseeni commented 4 years ago

I don't know if this was intentional but this is such a good "feature":

" SNEAK LABEL PREFERENCE ORDER: let g:sneak#target_labels = ";asdfjklghiopmenrtucwqzxyvbASDFJKLGHIOPMENRTUCWQZXYVB"

The fact that sneak retains the preference ordering of sneak labels is REALLY awesome. I I don't know if this was a side effect or intentional based on how the string input is read, but just in case, please keep this "feature" in future releases.

It's so nice to use all the letters, yet retain an easy to hit preference order. I have NEVER seen this in pycharm or other label jump plugins, so yeah as a side note, Please keep up the awesomeness haha.

justinmk commented 4 years ago

Thanks, it's intentional :) The default labels are chosen in an "optimal" way too.