You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often need to evaluate small selections of text with python, which can be accomplished with a selection in visual mode with the following command:
c<C-R>=py3eval(@")<CR><ESC>
This command works by first deleting the text into the " register, and then retrieving the contents of " as the input for the py3eval() command.
If I have some selections in visual-multi mode that I want to evaluate, typing c behaves as expected, but then is there a way to get the value of each region's register?
The text was updated successfully, but these errors were encountered:
I often need to evaluate small selections of text with python, which can be accomplished with a selection in visual mode with the following command:
This command works by first deleting the text into the
"
register, and then retrieving the contents of"
as the input for thepy3eval()
command.If I have some selections in visual-multi mode that I want to evaluate, typing
c
behaves as expected, but then is there a way to get the value of each region's register?The text was updated successfully, but these errors were encountered: