On Jun 22, 11:20 am, William <[email protected]> wrote:
> map <A-l> <Right>
> map! <A-l> <Right>
>
> <A-l> can't open a fold, i have to press <Right> directly
This was really hard to find, but it's in the help.
>From :help 'foldopen' you can see this:
When the command is part of a mapping this option is not used. Add
the |zv| command to the mapping to get the same effect.
Try this mapping instead:
map <A-l> <Right>zv
map! <A-l> <Right>
(folds should always be open far enough to view the cursor in insert
mode without you doing anything special)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---