jeetsukumaran / vim-indentwise

A Vim plugin for indent-level based motion.
220 stars 17 forks source link

Moving into a fold does not open the fold #18

Closed jrochel closed 1 year ago

jrochel commented 1 year ago

When I move into a folded area using for instance <Plug>(IndentWiseNextEqualIndent) the fold remains closed.

Maybe this is the desired behaviour, maybe it is not. (It is not for me.)

jrochel commented 1 year ago

This is easy to fix, so I'm closing. One can simply add zv at the end of the map:

nmap ( <Plug>(IndentWisePreviousEqualIndent)zv