On Jun 22, 6:02 pm, William <[email protected]> wrote:
> It seems that i have to distinguish whether the closed fold exists or
> not and deal with 'if ....else.....', if i wanna execute map <A-l> to
> <Right> absolutely automatically.
Maybe, but there is no harm in doing zv on a line that is not in a
closed fold...it will not do anything at all! I'd just add zv to the
end of your mapping and you never need to worry about whether you're
in a fold or not. It will just do the right thing.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---