Re: [arch-general] Vim with X

2011-11-18 Thread Philippe Park
The simpliest way is to select a text, and Maj+MiddleClick 2011/11/17 Leonid Isaev > On (11/17/11 21:32), Manolo Martínez wrote: > -~> On 11/17/11 at 09:08pm, Bastien Dejean wrote: > -~> > Manolo Martínez a écrit : > -~> > > -~> > > As it is now, the standalone vim cannot copy to and from the X

Re: [arch-general] Vim with X

2011-11-17 Thread Leonid Isaev
On (11/17/11 21:32), Manolo Martínez wrote: -~> On 11/17/11 at 09:08pm, Bastien Dejean wrote: -~> > Manolo Martínez a écrit : -~> > -~> > > As it is now, the standalone vim cannot copy to and from the X clipboard. -~> > -~> > I wrote the following functions to circumvent the problem: -~> -~> Th

Re: [arch-general] Vim with X

2011-11-17 Thread Manolo Martínez
On 11/17/11 at 09:08pm, Bastien Dejean wrote: > Manolo Martínez a écrit : > > > As it is now, the standalone vim cannot copy to and from the X clipboard. > > I wrote the following functions to circumvent the problem: That is a very nice idea. Thanks for the suggestion. It'd be interesting to kn

Re: [arch-general] Vim with X

2011-11-17 Thread Bastien Dejean
Bastien Dejean a écrit : > nmap gp :call Paste(1, 0) Sorry, obviously I meant 'Paste(0, 0)'. -- Bastien

Re: [arch-general] Vim with X

2011-11-17 Thread Bastien Dejean
Manolo Martínez a écrit : > As it is now, the standalone vim cannot copy to and from the X clipboard. I wrote the following functions to circumvent the problem: function! Yank(...) if a:0 let response = system("xsel -pi", a:1) else let response = syste

Re: [arch-general] Vim with X

2011-11-16 Thread Manolo Martínez
On 11/16/11 at 07:09pm, Ray Rashif wrote: > Since recently, I've been using my own build of vim. I realised I > could do with some convenience after all these years and set up > omni-completion with supertab context for python. If you build in > python3 interpreter the completion does not work, so

Re: [arch-general] Vim with X

2011-11-16 Thread Ray Rashif
On 16 November 2011 17:31, Manolo Martínez wrote: > On 11/16/11 at 08:44am, Jason Melton wrote: >> On Tue, Nov 15, 2011 at 11:00 PM, Manolo Martínez >> wrote: >> > don't want gvim, but we find copying and pasting to and from the clipboard >> > useful. >> > >> > If you install gvim, you can still r

Re: [arch-general] Vim with X

2011-11-16 Thread Manolo Martínez
On 11/16/11 at 08:44am, Jason Melton wrote: > On Tue, Nov 15, 2011 at 11:00 PM, Manolo Martínez > wrote: > > don't want gvim, but we find copying and pasting to and from the clipboard > > useful. > > > > If you install gvim, you can still run "vim" in an emulator and you get > the compile flags tha

Re: [arch-general] Vim with X

2011-11-15 Thread Jason Melton
On Tue, Nov 15, 2011 at 11:00 PM, Manolo Martínez wrote: > But I think many people > -- at any rate, I'm one of them -- use vim in a terminal emulator in X. We > don't want gvim, but we find copying and pasting to and from the clipboard > useful. > > If you install gvim, you can still run "vim" in

Re: [arch-general] Vim with X

2011-11-15 Thread Manolo Martínez
On 11/15/11 at 05:46pm, Taylor Hedberg wrote: > John K Pate, Tue 2011-11-15 @ 22:09:57+: > > ctrl-ins, shift-ins, middle-click should all still work. At least they > > do for me, and I don't have gvim installed. Or do I have something > > else installed that makes them work? > > He was probabl

Re: [arch-general] Vim with X

2011-11-15 Thread Taylor Hedberg
John K Pate, Tue 2011-11-15 @ 22:09:57+: > ctrl-ins, shift-ins, middle-click should all still work. At least they > do for me, and I don't have gvim installed. Or do I have something > else installed that makes them work? He was probably referring to Vim's ability to yank text into its * and +

Re: [arch-general] Vim with X

2011-11-15 Thread Fons Adriaensen
On Tue, Nov 15, 2011 at 10:09:57PM +, John K Pate wrote: > ctrl-ins, shift-ins, middle-click should all still work. At least they > do for me, and I don't have gvim installed. Or do I have something else > installed that makes them work? Same here. -- FA Vor uns liegt ein weites Tal, die

Re: [arch-general] Vim with X

2011-11-15 Thread John K Pate
On Tue, 2011-11-15 at 22:58 +0100, Manolo Martínez wrote: > On 11/15/11 at 11:57pm, Ray Rashif wrote: > > On 15 November 2011 22:00, Manolo Martínez wrote: > > The policy had already been revised when the split was made to have > > vim and gvim. Vim had to become lightweight as many people were >

Re: [arch-general] Vim with X

2011-11-15 Thread Manolo Martínez
On 11/15/11 at 11:57pm, Ray Rashif wrote: > On 15 November 2011 22:00, Manolo Martínez wrote: > The policy had already been revised when the split was made to have > vim and gvim. Vim had to become lightweight as many people were > complaining about its bulk. > > Thanks for the explanation, Ray.

Re: [arch-general] Vim with X

2011-11-15 Thread Ray Rashif
On 15 November 2011 22:00, Manolo Martínez wrote: > Hello everyone, > > As it is now, the standalone vim cannot copy to and from the X clipboard. For > a > vim that does this, one needs to install gvim, which pulls a number of > dependencies that you don't really need if you don't use the GUI. >

Re: [arch-general] Vim with X

2011-11-15 Thread Manolo Martínez
On 11/15/11 at 03:09pm, Jelle van der Waa wrote: > >Any chance that the policy on compile flags to use for vim could be revised? > > > >Thanks > >Manolo > > > You could search the archives, why this happend, else just use ABS. > Thanks for your reply, Jelle. I am using ABS atm. I (or rather a cert

Re: [arch-general] Vim with X

2011-11-15 Thread Jelle van der Waa
On 15/11/11 15:00, Manolo Martínez wrote: Hello everyone, As it is now, the standalone vim cannot copy to and from the X clipboard. For a vim that does this, one needs to install gvim, which pulls a number of dependencies that you don't really need if you don't use the GUI. I guess the rational

[arch-general] Vim with X

2011-11-15 Thread Manolo Martínez
Hello everyone, As it is now, the standalone vim cannot copy to and from the X clipboard. For a vim that does this, one needs to install gvim, which pulls a number of dependencies that you don't really need if you don't use the GUI. I guess the rationale for this is that people using vim in conso