mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
feat(keybindings): operator pending mode (#3626)
This commit is contained in:
parent
c70a094314
commit
1f92c07413
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ local generic_opts = {
|
|||
visual_mode = generic_opts_any,
|
||||
visual_block_mode = generic_opts_any,
|
||||
command_mode = generic_opts_any,
|
||||
operator_pending_mode = generic_opts_any,
|
||||
term_mode = { silent = true },
|
||||
}
|
||||
|
||||
|
@ -19,6 +20,7 @@ local mode_adapters = {
|
|||
visual_mode = "v",
|
||||
visual_block_mode = "x",
|
||||
command_mode = "c",
|
||||
operator_pending_mode = "o",
|
||||
}
|
||||
|
||||
---@class Keys
|
||||
|
@ -28,6 +30,7 @@ local mode_adapters = {
|
|||
---@field visual_mode table
|
||||
---@field visual_block_mode table
|
||||
---@field command_mode table
|
||||
---@field operator_pending_mode table
|
||||
|
||||
local defaults = {
|
||||
insert_mode = {
|
||||
|
|
Loading…
Reference in a new issue