Vim: Select and Operator-Pending Mode Key Remaps

Created on 2 Oct 2018  路  2Comments  路  Source: VSCodeVim/Vim

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I am using VSCode with VSCodeVim, and because I am using Programmer Dvorak keyboard layout, I need some key remaps in the configuration, I used to do it in vimrc when I am using Vim. I have checked the documents of VSCodeVim, it seems that I can do key remap in Normal/Visual/Insert mode with VSCodeVim, but I really need the ability doing remap in select and operator-pending mode, I hope there can be a key remap command in VSCodeVim works like noremap in Vim.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I hope VSCodeVim can do key remaps in select and operator-pending mode and there can be some commands working the same as noremap in Vim.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

areremap kinenhancement

Most helpful comment

I'm kind of late for the party, but for Colemak and Dvorak users that remap the entire keyboard this is a must have feature :(

All the modes for vimscripts:

n: normal only
v: visual and select
o: operator-pending
x: visual only
s: select only
i: insert
c: command-line
l: insert, command-line, regexp-search (and others. Collectively called "Lang-Arg" pseudo-mode)

All 2 comments

I would love to see this. It's not currently possible for me to use my custom motions associated with the various operators (yank, delete, etc).

The lack of an "operator-pending" mode would also help with the recommended solution for movement keys that move one visual line at a time with wrapped lines (i.e. the solution requiring modifications to the keybindings.json file). A separate mode would mean it was no longer broken for that case.

I'm kind of late for the party, but for Colemak and Dvorak users that remap the entire keyboard this is a must have feature :(

All the modes for vimscripts:

n: normal only
v: visual and select
o: operator-pending
x: visual only
s: select only
i: insert
c: command-line
l: insert, command-line, regexp-search (and others. Collectively called "Lang-Arg" pseudo-mode)

Was this page helpful?
0 / 5 - 0 ratings