Replies: 1 comment
-
impossible, limited by browser
…---Original---
From: "Xiaohan ***@***.***>
Date: Mon, Apr 17, 2023 11:17 AM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: [gdh1995/vimium-c] how to map key like <c-w> <c-s-w> <c-w:i> <c-w:o>(Discussion #926)
what I want
I want to map <c-w:i> <c-w:o> in insert/vomnibar mode to delete a word, but it didn't work:
map <c-w:i> editText run="move,backward,word,exec,delete," map <c-w:o> editText run="move,backward,word,exec,delete,"
When press <c-w> while editing, it simply closes the window...
I have also try...
map like <c-w> <c-t> doesn't work
I try to config in custom key mappings:
map <c-w> scrollDown map <c-t> scrollDown map <c-n> scrollDown map <c-s-w> scrollDown map <c-s-t> scrollDown map <c-s-n> scrollDown
However, those keys still works as default behaviors in chromium(close tab, new tab, new window...).
But any other keys except w, t, n can be mapped and work well.
map like <c-w:i> doesn't work
map <c-xx:i> editText run="move,backward,word,exec,delete,"
Similarly, <c-xx:i> seems work in insert mode, as long as xx is not w, t, n...
map like <c-w:i> <c-t> doesn't work
And I try to map key in vomnibar like (wiki)[https://github.com/gdh1995/vimium-c/wiki/Use-in-another-keyboard-layout#per-mode-mapkey].
map <c->
environment
Browser name: chromium
Browser version: 112.0.5615.121 (Official Build) Arch Linux (64-bit)
Vimium C version: 1.99.98
OS name and version: Linux arch 6.2.11-arch1-1
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
phanen
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.
-
what I want
I want to map
<c-w:i>
<c-w:o>
in insert/vomnibar mode to delete a word, but it didn't work:When press
<c-w>
while editing, it simply closes the window...I have also try...
map like
<c-w>
<c-t>
doesn't workI try to config in custom key mappings:
However, those keys still works as default behaviors in chromium(close tab, new tab, new window...).
But any other keys except
w
,t
,n
can be mapped and work well.map like
<c-w:i>
doesn't workSimilarly,
<c-xx:i>
seems work in insert mode, as long asxx
is notw
,t
,n
...map like
<c-xx:o>
doesn't workAnd I try to map keys in vomnibar like wiki.
It seems that any key
xx
can not be mapped.environment
Beta Was this translation helpful? Give feedback.
All reactions