Replies: 1 comment
-
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.
-
This is a somewhat similar question to #5234, but I would like to further expand it:
I would like to remap the key
*
to a similar behaviour that I have in vim, where the whole word under the cursor is searched.Of course I could use
miw
as suggested there, but ideally, I really want to make*
behave exactly asmiw
, But It does not seem that is possible.I see in the source code that
mi
maps toselect_textobject_innter
:So this means that the last
w
is handled inside of theselect_textobject_inner
handler.It is possible to achive such behaviour? Is this a know limitation? Or can I somehow send that missing
w
toselect_textobject_inner
?Another idea would be to allow creation of "macros', where I could configure
"*" = "miw"
somehow.Beta Was this translation helpful? Give feedback.
All reactions