diff options
| author | LostNeophyte <[email protected]> | 2022-12-21 09:23:07 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-21 09:23:07 +0100 | 
| commit | 1f92c074131dbd192dfd14b506b38a0f5341786d (patch) | |
| tree | c74ef9599f7bf0fa45906917f5bf11e8df66925b /lua | |
| parent | c70a094314d890575641e9166a535b5c257951f2 (diff) | |
feat(keybindings): operator pending mode (#3626)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lvim/keymappings.lua | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/lua/lvim/keymappings.lua b/lua/lvim/keymappings.lua index d5a6df1d..e7010a37 100644 --- a/lua/lvim/keymappings.lua +++ b/lua/lvim/keymappings.lua @@ -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 = { | 
