Re: How about in-built camelcase movement support?

2011-05-20 Fir de Conversatie Tony Mechelynck
On 17/05/11 10:33, Marc Weber wrote: Can't we make Vim accept custom moves then? then dX vX =X etc would work where X is the custom vimL code moving the cursor? Something like :setlocal custommovement=camelcase#CamelCaseMovement What about regions ? Does something like this already exist

Re: How about in-built camelcase movement support?

2011-05-19 Fir de Conversatie Christian Brabandt
Hi Ben! On Mi, 18 Mai 2011, Ben Schmidt wrote: The other question is whether a sizeable population works on camelcase code and would like to have this solved :). I would like to see a camelcase and/or underscore-seperation movement commands. But I think if done, it has to be done really

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie Ingo Karkat
On 17-May-2011 03:42, hari.rangara...@gmail.com wrote: For the record, I have gone through the solutions at this wiki: http://vim.wikia.com/wiki/Moving_through_camel_case_words; however, I was still left wondering if there has been an attempt to solve the camel case word movement natively in

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie Marc Weber
Can't we make Vim accept custom moves then? then dX vX =X etc would work where X is the custom vimL code moving the cursor? Something like :setlocal custommovement=camelcase#CamelCaseMovement What about regions ? Does something like this already exist for regions? What's the main point

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie Ingo Karkat
On 17-May-2011 10:33, Marc Weber wrote: Can't we make Vim accept custom moves then? then dX vX =X etc would work where X is the custom vimL code moving the cursor? Something like :setlocal custommovement=camelcase#CamelCaseMovement And this new setting would affect the word-wise

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie Marc Weber
You can already implement custom motions via :omap; that's what camelcasemotion uses. I've missed that. The first camelcase samples are using (i,n,v)noremap I think there are many good syncing solutions already out there, and especially non-Windows users have a need for keeping several

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie hari.rangara...@gmail.com
On Mon, May 16, 2011 at 11:36 PM, Ingo Karkat sw...@ingo-karkat.de wrote: On 17-May-2011 03:42, hari.rangara...@gmail.com wrote: For the record, I have gone through the solutions at this wiki: http://vim.wikia.com/wiki/Moving_through_camel_case_words; however, I was still left wondering if

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie hari.rangara...@gmail.com
What's the main point about being native? That you don't have to get custom .vimrc ? For me, that would be: - available everywhere, and therefore: - beneficial to all users (who are more likely to find the feature in the help than in one of thousands of plugins on vim.org which need to

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie Ingo Karkat
On 17-May-2011 17:07, hari.rangara...@gmail.com wrote: Ingo -- I did check out your plugin, and I might actually end up using it regularly :). There were a basic things which caught my eye as incomplete: Is there a reason you didn't choose to implement the 'ge' operator? [code snipped]

Re: How about in-built camelcase movement support?

2011-05-17 Fir de Conversatie Ben Schmidt
The other question is whether a sizeable population works on camelcase code and would like to have this solved :). I would like to see a camelcase and/or underscore-seperation movement commands. But I think if done, it has to be done really carefully so it doesn't end up using obscure keys or

How about in-built camelcase movement support?

2011-05-16 Fir de Conversatie hari.rangara...@gmail.com
For the record, I have gone through the solutions at this wiki: http://vim.wikia.com/wiki/Moving_through_camel_case_words; however, I was still left wondering if there has been an attempt to solve the camel case word movement natively in Vim, as a lot of code does use this convention. I was

Re: How about in-built camelcase movement support?

2011-05-16 Fir de Conversatie Marc Weber
Excerpts from hari.rangara...@gmail.com's message of Tue May 17 03:42:19 +0200 2011: For the record, I have gone through the solutions at this wiki: http://vim.wikia.com/wiki/Moving_through_camel_case_words; however, I was still left wondering if there has been an attempt to solve the camel