mini.surround: how to assume motions if none are specified? #1412
Closed
Oneechan69
started this conversation in
General
Replies: 1 comment
-
I am afraid, this is not how operators (and The best you can do is to create custom Normal mode mappings for some common surroundings individually. So something like this: -- **Do not** forget the `remap = true` part, it makes it treat keys "as if typed by user"
vim.keymap.set('n', 'sa"', 'saiw"', { remap = true }) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
for instance, I want to write
sa"
in normal mode (no motions) and have it assumeiw
(likesaiw"
) or whatever I write in a config option for a default motion.Beta Was this translation helpful? Give feedback.
All reactions