On Feb 18, 4:14 pm, Wincent Colaiuta <[email protected]> wrote:
> I'm fairly new to Vim and I just found out about the "whichwrap"
> setting.
>
> In the help it says that adding "h" and "l" to the list is "not
> recommended".
>
> I'm extremely tempted to add those to "whichwrap" (along with <, >, [,
> and ]), but before I do I wanted to ask the veterans why "h" and "l"
> in particular are labelled as "not recommended". Basically, I wouldn't
> want to develop a bad habit here that will later haunt me once I
> become more experienced with Vim.
>
A lot of people like the fact that h and l stop at line boundaries. It
lets them press it repeatedly or with a count without worrying about
wrapping to the next line. Additionally, there is a possibility that
plugins and mappings assume this behavior and will break if you have
them included in whichwrap.
But it's really all a matter of preference. Personally, I like having
them wrap. I've never found a situation where I wish I hadn't set them
up to do so.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---