Re: Bug in @{reg} together with [EMAIL PROTECTED]

2008-01-14 Fir de Conversatie Andy Wokula
Andy Wokula schrieb: Nikolai Weibull schrieb: On Jan 8, 2008 6:45 PM, Charles E Campbell Jr [EMAIL PROTECTED] wrote: It might help folks help you if you included the get_command_mode_range() function. Ugh, yeah, I'm beginning to have a suspicion as to what the problem is: function!

Re: Bug in @{reg} together with [EMAIL PROTECTED]

2008-01-08 Fir de Conversatie Charles E Campbell Jr
Nikolai Weibull wrote: I have the following mapping: map g: Esc:set operatorfunc=SIDget_command_mode_rangeCRg@ and have recorded g:}j^M into register 'a'. Running @a now does nothing. Why? (It should run :join from the current line to the end of the current paragraph.) It might help

Re: Bug in @{reg} together with [EMAIL PROTECTED]

2008-01-08 Fir de Conversatie Nikolai Weibull
On Jan 8, 2008 6:45 PM, Charles E Campbell Jr [EMAIL PROTECTED] wrote: It might help folks help you if you included the get_command_mode_range() function. Ugh, yeah, I'm beginning to have a suspicion as to what the problem is: function! s:get_command_mode_range(type) let b = line('[) let

Re: Bug in @{reg} together with [EMAIL PROTECTED]

2008-01-08 Fir de Conversatie Ben Schmidt
Nikolai Weibull wrote: I have the following mapping: map g: Esc:set operatorfunc=SIDget_command_mode_rangeCRg@ and have recorded g:}j^M into register 'a'. Running @a now does nothing. Why? (It should run :join from the current line to the end of the current paragraph.)

Re: Bug in @{reg} together with [EMAIL PROTECTED]

2008-01-08 Fir de Conversatie Ben Schmidt
It might help folks help you if you included the get_command_mode_range() function. Ugh, yeah, I'm beginning to have a suspicion as to what the problem is: function! s:get_command_mode_range(type) let b = line('[) let e = line(']) if b e let range = '.,+' . (e - b)