Tuesday, June 5, 2012

Re: vim: can't open the fold with "l"

On Tue, Jun 05, 2012 at 04:09:09PM -0400, ping wrote:
> folks:
> I use fold a lot with long files and sometime I can extend(open) the
> fold with right move (l) character
> but sometime I can't -in that case I have to "zo" to pen it.
> does anyone experience the same or have any clue to troubleshoot?

As always, first, try with no plugins and see if it persists.

I didn't even know l opened folds -- I've had the space bar mapping:

nnoremap <silent> <space> :exe 'silent! normal! '.((foldclosed('.')>0)? 'zMzx' : 'zc')<cr>

for so long I've grown to depend on it for fold toggling (I think I got
it from Charles). You might like it too...

sc

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: