I would like to move carret to Bar in FooBarFizzBuzz in vim. How to do that?
How to make w ‘pascal case aware’? Is there any other stroke already for this?
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.
This may be what you’re looking for: http://vim.wikia.com/wiki/Moving_through_camel_case_words
It explains various ways to set up the behavior you’re describing (with increasing levels of complexity / completeness) as well as a link to a script that appears to have more configuration options). The examples are for mapping the arrow keys but you could presumably remap w and such if you liked.