XVim icon indicating copy to clipboard operation
XVim copied to clipboard

hjkl navigation ignores code folds, and continues to walk over every line [$100]

Open ryanbooker opened this issue 12 years ago • 5 comments

Should treat a code fold as a single line.


There is a $100 open bounty on this issue. Add to the bounty at Bountysource.

ryanbooker avatar Nov 27 '13 06:11 ryanbooker

Actually it should open the fold. It goes over it only in visual mode.

But yes movements with folds don't work well right now.

JohnTheAppleSeed avatar Nov 27 '13 07:11 JohnTheAppleSeed

I think I agree with @ryanbooker... it would be much more useful to have it skip over the folded regions in that mode like it's done in most editors. In vim, my folded regions are not unfolded as I navigate with jk.

weaksauce avatar Nov 27 '13 22:11 weaksauce

hmm you're right, it's in insert mode that it opens them

anyway, we're definitely not there yet :/

JohnTheAppleSeed avatar Nov 27 '13 23:11 JohnTheAppleSeed

Is this issue fixed in in recent XCode? I found it quite annoying if I can't move my cursor out from the fold. Do you have any workaround for this issue?

samson333 avatar Sep 10 '15 07:09 samson333

No, it hasn't been fixed, Xcode 9.4.1

hitzhangjie avatar Jun 18 '18 07:06 hitzhangjie