Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for language-mapping lmap #138

Open
xged opened this issue Feb 21, 2015 · 5 comments
Open

Support for language-mapping lmap #138

xged opened this issue Feb 21, 2015 · 5 comments

Comments

@xged
Copy link

xged commented Feb 21, 2015

from :h language-mapping:

":lmap" defines a mapping that applies to:

  • Insert mode
  • Command-line mode
  • when entering a search pattern
  • the argument of the commands that accept a text character, such as "r" and "f"

Vim-sneak accepts text characters therefore should support lmap.

@xged xged changed the title Support for language-mapping (lmap) Support for language-mapping lmap Feb 21, 2015
@justinmk
Copy link
Owner

Is this different than 'keymap' (already supported #47)?

@xged
Copy link
Author

xged commented Feb 23, 2015

'keymap' internally uses lnoremap, so it should not be different, but it does not work for me (my &imcmdline is 1 (on), but command-line (:) lmap allways restarts to off).

@justinmk
Copy link
Owner

justinmk commented Mar 4, 2015

I'm going to mark this as patcheswelcome for now, because I'm not even sure if anyone uses the keymap feature. Thanks for the report.

@vinszent
Copy link

Not sure if this is the same issue, but I had problems with vim-sneak when using set langmap=hk,jh,kj to fit the colemak layout better. Setting set langnoremap fixed my issues.

@justinmk
Copy link
Owner

@Ippytraxx I believe the only reason set langnoremap even exists is for "backwards compatibility". There's virtually no reason not to use set langnoremap. See also tpope/vim-sensible#93

Thanks for the report too.

@justinmk justinmk mentioned this issue Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants