How do I template a command with a binding? #8215
Unanswered
jim-alexander
asked this question in
Q&A
Replies: 1 comment
-
Guess its not possible. |
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
-
I want to be able to click
<leader>fr
which will enter the command::%s//<cursor_here>/g
but not actually enter it until I actually enter the word I want to Find and Replace.This is what I have so far but I can't find any way after a long time trawling through the docs / forums / issues, to acheive this:
Here are some keywords that I searched for when hunting this issue elsewhere in hopes it helps someone else:
Find and replace binding, find and replace keymap, template a command for execution, Create command with cursor at position.
Beta Was this translation helpful? Give feedback.
All reactions