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!
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
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
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 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)