On 8/27/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> Nikolai Weibull wrote:
> > So it seems that there's something strange going on in what line is
> > being set for the ] mark when performing a search under these
> > conditions, coupled with patterns that match at the very beginning of
> > a
Nikolai Weibull wrote:
> I have the following function and binding:
>
> noremap g: :set operatorfunc=get_command_mode_rangeg@
>
> function! s:get_command_mode_range(type)
> let b = line("'[")
> let e = line("']")
>
> if b < e
> let range = '.,+' . (e - b)
> elseif b == e
> le
I have the following function and binding:
noremap g: :set operatorfunc=get_command_mode_rangeg@
function! s:get_command_mode_range(type)
let b = line("'[")
let e = line("']")
if b < e
let range = '.,+' . (e - b)
elseif b == e
let range = '.'
else
let range = '.,+' . (b -