diff options
Diffstat (limited to 'lua/clever_f/composition_root.lua')
| -rw-r--r-- | lua/clever_f/composition_root.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/clever_f/composition_root.lua b/lua/clever_f/composition_root.lua index 0ea9675..f9c7a4c 100644 --- a/lua/clever_f/composition_root.lua +++ b/lua/clever_f/composition_root.lua @@ -20,6 +20,11 @@ M.ACTION_NAMES = { "RepeatOppositeDirection", } M.DEFAULT_MAPPING_MODES = { "n", "x", "o" } +M.DEFAULT_MAPPING_OPTIONS = { + silent = true, + remap = false, + preserve_count = true, +} M.DEFAULT_MAPPINGS = { { lhs = "f", action = "StartFindForward" }, { lhs = "F", action = "StartFindBackward" }, @@ -141,7 +146,7 @@ local function register_default_mappings(record, setup) M.DEFAULT_MAPPING_MODES, mapping.lhs, mapping.action, - {} + M.DEFAULT_MAPPING_OPTIONS ) end return registrations |
