can I change the HJKL to NEIO in Vimium?
because I use the Colemak keyboard layout.
couldn't find anything in the docs.
@wis I haven't used Colemak, but I believe that simple key remapping should work for you. Take a look at Custom Key Mappings in REAME.
thanks for trying to help @ris58h
I should have mentioned Visual mode, I don't think it's an implemented feature to remap hjkl or any keys in different modes.
I think they should be automatically remapped in all layers.
They seem to be hardcoded. Please add commands for them they can be remapped.
The keys for visual mode and caret mode are indeed currently hard coded.
Would be nice to go into Caret mode with a single key press. I think one would like to start with Caret mode instead of Visual mode. Also uncertainty whether it will start in Visual or Caret mode with v does not help.
If there is an existing selection (even a zero-length selection), then you get visual mode, otherwise caret mode.
@smblott-github Oh, I see how it works now. That all makes sense. Maybe expand what "selection" means (mouse click) in https://github.com/philc/vimium/wiki/Visual-Mode.
@smblott-github Just wanted to bump this issue. I successfully remapped the scrolling keys from hjkl to jkl枚 (german keyboard) but the mapping doesn't work for moving the caret in visual / caret mode. This is really unfortunate since constantly switching between the two mappings is rather confusing.
+1
Here's an AD about my customized Vimium - gdh1995/vimium-c - it has both global remapping and pre-mode remapping.
By default, a mapkey
rule takes effects in all modes (even FindMode and Vomnibar); and you can also map a same key to different keys in different modes, by adding a mode-id suffix. For example, mapkey <f:o> <f2>
will only make Vomnibar treat f
as <f2>
.
Here're some available mode IDs: Insert = "i", Link = "l", Omni = "o", Find = "f", Visual = "v" and Marks = "m". For NormalMode, there's no ID character.
Its wiki about all mapkey
usages is https://github.com/gdh1995/vimium-c/wiki/Use-in-another-keyboard-layout#mapkey-directive
Most helpful comment
Here's an AD about my customized Vimium - gdh1995/vimium-c - it has both global remapping and pre-mode remapping.
By default, a
mapkey
rule takes effects in all modes (even FindMode and Vomnibar); and you can also map a same key to different keys in different modes, by adding a mode-id suffix. For example,mapkey <f:o> <f2>
will only make Vomnibar treatf
as<f2>
.Here're some available mode IDs: Insert = "i", Link = "l", Omni = "o", Find = "f", Visual = "v" and Marks = "m". For NormalMode, there's no ID character.
Its wiki about all
mapkey
usages is https://github.com/gdh1995/vimium-c/wiki/Use-in-another-keyboard-layout#mapkey-directive