Lets say cursor is standing on line #10:
foo bar “fizz” buzz
first character.
How can I yank fizz using ex mode (to do the same as f"yi" would do)?
Bonus points for ability to specify register.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can execute any normal mode command via
:normal(add!to ignore any mappings; a good practice when writing plugins).For special keys, enclose the command in
:execute, as in: