Re: Small grammar issue in 'langmap'/'langremap' help

6 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 2, 2020, 2:55:30 PM3/2/20
to vim...@googlegroups.com, Tim Chase, vim...@vim.org, v...@vim.org

Tim Chase wrote:

> Reading the help on 'langmap' today, I encountered this
>
> Also consider resetting 'langremap' to avoid 'langmap'
> applies to characters resulting from a mapping.
>
> Despite reading this multiple times, I'm not quite sure what this is
> trying to say. Confusion includes
>
> - what does it mean to "reset"? (usually "reset" for a setting means
> `set langmap&`, but in this case it defaults to *on*, so resetting
> would do the opposite of what is intended). This also applies in
> the help for 'langremap' where it says "reset in defaults.vim")

Resetting means setting it off.

> - the grammar of "applies" is peculiar.
>
> Maybe something like
>
> Also consider setting 'nolangremap' to prevent 'langmap'
> from applying to characters used in a mapping.

How about:
Also consider setting 'langremap' to off, to avoid that 'langmap'
applies to characters resulting from a mapping.

> in the help for 'langmap', and
>
> boolean (default on, turned off in defaults.vim)
>
> for the help on 'lrm'.

I like to keep "set" in there, since that's the command that is used.
"set to off" is less ambiguous, but it doesn't sound very nice.

--
hundred-and-one symptoms of being an internet addict:
165. You have a web page burned into your glasses

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages