Langmap support in vim mode #29146
aeyquem
started this conversation in
Ideas From Vim
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In neovim, there is a feature called langmap that translates the keys in different modes (like normal mode) according to a map. For example, the neovim config looks like this:
vim.opt.langmap="neoi;hjkl,hjkl;neoi"
this will make it so if i press
cl"
the editor will take it asci"
in normal mode, but not in insert mode.This is extremely useful for custom keyboard distributions, specially the ones that are not dependant on the SO (like in custom keboards that have the distribution in the firmware, but the OS sees qwerty).
Beta Was this translation helpful? Give feedback.
All reactions