We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
g:subversivePromptWithActualCommand
With g:subversivePromptWithActualCommand set, substituting my_text leaves you with :'[,']s/\V\Cmy_text/|/gI (| being the cursor):
my_text
:'[,']s/\V\Cmy_text/|/gI
|
My suggestion, is to instead use :'[,']s/\V\C\(my_text\)/|/gI, automatically capturing my_text in a group.
:'[,']s/\V\C\(my_text\)/|/gI
This would allow users to more quickly complete with the current text with \1, for example:
\1
:'[,']s/\V\C\(my_text\)/\1_is_amesome/gI :'[,']s/\V\C\(my_text\)/this_is_\1/gI :'[,']s/\V\C\(my_text\)/this_is_\1_and_now_way_longer/gI
Which will result in
my_text_is_amesome this_is_my_text this_is_my_text_and_now_way_longer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With
g:subversivePromptWithActualCommand
set, substitutingmy_text
leaves you with:'[,']s/\V\Cmy_text/|/gI
(|
being the cursor):My suggestion, is to instead use
:'[,']s/\V\C\(my_text\)/|/gI
, automatically capturingmy_text
in a group.This would allow users to more quickly complete with the current text with
\1
, for example:Which will result in
The text was updated successfully, but these errors were encountered: