tags:

views:

48

answers:

2

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?

+4  A: 

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.

Josh Petrie
A: 

How's this for size:

http://vim.wikia.com/wiki/Moving_through_camel_case_words

Dave