python scripting: get current visual selection

2011-11-11 Thread Gelonida N
Hi, I am rather new to the python scripting module of vim. I wanted to write a small test script, which is analyzing all text, that I yanked into named buffers. (not sure if 'named-buffer' is the correct vi term) Small example buf_names = 'abcd' for buf_name in buf_names: yank_buffer =

Re: python scripting: get current visual selection

2011-11-11 Thread Tony Mechelynck
On 11/11/11 18:16, Gelonida N wrote: Hi, I am rather new to the python scripting module of vim. I wanted to write a small test script, which is analyzing all text, that I yanked into named buffers. (not sure if 'named-buffer' is the correct vi term) Small example buf_names = 'abcd' for

Re: python scripting: get current visual selection

2011-11-11 Thread AK
On 11/11/2011 12:16 PM, Gelonida N wrote: Hi, I am rather new to the python scripting module of vim. I wanted to write a small test script, which is analyzing all text, that I yanked into named buffers. (not sure if 'named-buffer' is the correct vi term) Small example buf_names = 'abcd'

Re: python scripting: get current visual selection

2011-11-11 Thread Gelonida N
On 11/11/2011 06:39 PM, AK wrote: On 11/11/2011 12:16 PM, Gelonida N wrote: Hi, I am rather new to the python scripting module of vim. I wanted to write a small test script, which is analyzing all text, that I yanked into named buffers. (not sure if 'named-buffer' is the correct vi term)

Re: python scripting: get current visual selection

2011-11-11 Thread AK
On 11/11/2011 12:49 PM, Gelonida N wrote: On 11/11/2011 06:39 PM, AK wrote: On 11/11/2011 12:16 PM, Gelonida N wrote: Hi, I am rather new to the python scripting module of vim. I wanted to write a small test script, which is analyzing all text, that I yanked into named buffers. (not sure if

Re: python scripting: get current visual selection

2011-11-11 Thread Tony Mechelynck
On 11/11/11 18:56, AK wrote: On 11/11/2011 12:49 PM, Gelonida N wrote: On 11/11/2011 06:39 PM, AK wrote: On 11/11/2011 12:16 PM, Gelonida N wrote: Hi, I am rather new to the python scripting module of vim. I wanted to write a small test script, which is analyzing all text, that I yanked