1

I've been unable to find plugin support for simple navigation to "next/previous with same indentation" (e.g [[ and ]]) in yaml. I have folding supported, but I'd like to navigate without using folds.

I feel like this shouldn't be hard, but I'm just not looking in the right place.

2 Answers 2

1

When foldmethod=indent you can use [z and ]z for moving to start/end of current fold. And zj and zk for moving to start/end of down/upwards fold.

These might interest you:

1

I quite like vim-indentwise for this sort of thing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.