Re: Terminal-based auto-paste.

2006-07-11 Thread Yakov Lerner
On 7/10/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: On Mon, Jul 10, 2006 at 07:56:13PM +0300, Yakov Lerner wrote: >Vim is special. I believe that being organic extension of >programmer/sysadmin fingers, it deserves special attitude >that other packages. By refusing to build vim from sourc

Re: Terminal-based auto-paste.

2006-07-10 Thread Gary Johnson
On 2006-07-10, Sean Reifschneider <[EMAIL PROTECTED]> wrote: > On Mon, Jul 10, 2006 at 07:38:02AM +, Yakov Lerner wrote: > >package-maintiners and expect them to fine-tune binary packages > >to your inquiries/needs/wishes. Unless you are package-maintiner > > Having an expert tune the package

Re: Terminal-based auto-paste.

2006-07-10 Thread Sean Reifschneider
On Mon, Jul 10, 2006 at 07:56:13PM +0300, Yakov Lerner wrote: >Vim is special. I believe that being organic extension of >programmer/sysadmin fingers, it deserves special attitude >that other packages. The point you missed, assuming I was being absurd, is that I can probably find someone on the de

Re: Terminal-based auto-paste.

2006-07-10 Thread Yakov Lerner
On 7/10/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: I penetrated this barrier once ~ 6 years ago, the barrier between the stock-rpm-vim and self-build-rpm. Correction. I wanted to write: ... the barrier between the stock-rpm-vim and self-build-vim.

Re: Terminal-based auto-paste.

2006-07-10 Thread Yakov Lerner
On 7/10/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: I have submitted a suggestion to the Fedora packager I wish you god luck waiting from Fedora packager. I referred to the possibility of installing vim under $HOME/bin, for one user only, you. (This is possible even if user is root). Th

Re: Terminal-based auto-paste.

2006-07-10 Thread Sean Reifschneider
On Mon, Jul 10, 2006 at 07:38:02AM +, Yakov Lerner wrote: >It is so much easier and predictable to build & install vim from >sources youself, (with exactly the features you need), than hunt I understand that some people believe this, but as a large-scale system administrator I disagree. If I

Re: Terminal-based auto-paste.

2006-07-10 Thread Sean Reifschneider
On Mon, Jul 10, 2006 at 09:26:54AM +0200, Nikolai Weibull wrote: >Well tell them to fix that, or you'll never get access to "* or "+ from Vim. As I said in the previous message, I've already opened a bug request with Fedora about it. It wasn't until late today that I also tested it on Ubuntu. Ho

Re: Terminal-based auto-paste.

2006-07-10 Thread Yakov Lerner
On 7/10/06, Nikolai Weibull <[EMAIL PROTECTED]> wrote: On 7/10/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: >A new feature in vim would make it work extremely well, using the stock >packages as built in Fedora Core and Ubuntu (neither builds --with-x=yes >in the non-gvim version

Re: Terminal-based auto-paste.

2006-07-10 Thread Sean Reifschneider
On Sat, Jul 08, 2006 at 01:41:26AM +0200, Nikolai Weibull wrote: >But what's the point? Some characters will already have been inserted >and they won't have had 'paste' set. I fail to see how this is a path >to follow. Absolutely, the first N characters of your text may have been pasted incorrec

Re: Terminal-based auto-paste.

2006-07-10 Thread Nikolai Weibull
On 7/10/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: A new feature in vim would make it work extremely well, using the stock packages as built in Fedora Core and Ubuntu (neither builds --with-x=yes in the non-gvim version). Well tell them to fix that, or you'll never get access t

Re: Terminal-based auto-paste.

2006-07-10 Thread Sean Reifschneider
On Mon, Jul 10, 2006 at 07:34:12AM +0200, Pierre Habouzit wrote: >> and that's a workable solution. It's still annoying how clicking and >> selecting text causes vim to move my cursor around and requires me to >> press escape when I'm done selecting. > >maybe you could read :he mouse then (and rea

Re: Terminal-based auto-paste.

2006-07-09 Thread Pierre Habouzit
Le lun 10 juillet 2006 05:57, Sean Reifschneider a écrit : > On Sat, Jul 08, 2006 at 11:57:48PM +0200, Pierre Habouzit wrote: > >'*' works iff your vim is linked against X. > >same is true for shift right mouse button. > […] > However, I have rebuilt the Fedora Core 6 test 1 RPMs --with-x=yes, >

Re: Terminal-based auto-paste.

2006-07-09 Thread Sean Reifschneider
On Sat, Jul 08, 2006 at 11:57:48PM +0200, Pierre Habouzit wrote: >'*' works iff your vim is linked against X. >same is true for shift right mouse button. The ideal solution for me would be to detect more than X characters received during the last, say, 100ms, and turn on paste then. However, I ha

Re: Terminal-based auto-paste.

2006-07-08 Thread Pierre Habouzit
Le ven 7 juillet 2006 06:23, Sean Reifschneider a écrit : > I haven't been very happy with using vim in an xterm with various > settings of "mouse=", "selectmode=" and others. Part of this may be > that the Fedora build is missing some features related to things like > "* doesn't seem to work, and

Re: Terminal-based auto-paste.

2006-07-07 Thread Nikolai Weibull
On 7/8/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: It's certainly doable to detect that more than N characters have been "typed" in insert mode in the last M milliseconds though, even if you don't have access to the input buffer. Or am I missing something? But what's the point? Some ch

Re: Terminal-based auto-paste.

2006-07-07 Thread Sean Reifschneider
On Sat, Jul 08, 2006 at 01:43:46AM +0300, Yakov Lerner wrote: >empty based on the size of typeahead buffer. I don't want to >disappoint you. But I believe there is no possibility to automatically >do something based on number of character in the input buffer. It's certainly doable to detect that m

Re: Terminal-based auto-paste.

2006-07-07 Thread Nikolai Weibull
On 7/8/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: Probably because for it to work in insert mode you would need to do "set mouse=i". set mouse=a is a superset of set mouse=i nikolai

Re: Terminal-based auto-paste.

2006-07-07 Thread Yakov Lerner
On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: On Fri, Jul 07, 2006 at 11:35:41AM +0300, Yakov Lerner wrote: >On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: >>What I'm really looking for is that when I paste using the mouse, that >>"paste" is set. > >How about this > >:map :s

Re: Terminal-based auto-paste.

2006-07-07 Thread Sean Reifschneider
On Sat, Jul 08, 2006 at 12:10:14AM +0200, Nikolai Weibull wrote: >On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: >>On Fri, Jul 07, 2006 at 06:47:55PM +0200, Nikolai Weibull wrote: >>>OK, so here's what you do: >>> >:map :set paste"*p:set nopaste >>> >>>and >>> >>> :inoremap set paste

Re: Terminal-based auto-paste.

2006-07-07 Thread Nikolai Weibull
On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: On Fri, Jul 07, 2006 at 06:47:55PM +0200, Nikolai Weibull wrote: >OK, so here's what you do: > >>>:map :set paste"*p:set nopaste > >and > > :inoremap set paste*set nopaste That doesn't seem to do the job. I'm not quite sure what you're t

Re: Terminal-based auto-paste.

2006-07-07 Thread Sean Reifschneider
On Fri, Jul 07, 2006 at 06:47:55PM +0200, Nikolai Weibull wrote: >OK, so here's what you do: > >>>:map :set paste"*p:set nopaste > >and > > :inoremap set paste*set nopaste That doesn't seem to do the job. I'm not quite sure what you're trying to accomplish here, so I can't tell where it's going

Re: Terminal-based auto-paste.

2006-07-07 Thread Nikolai Weibull
On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: On Fri, Jul 07, 2006 at 11:35:41AM +0300, Yakov Lerner wrote: >On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: >>What I'm really looking for is that when I paste using the mouse, that >>"paste" is set. > >How about this > >:map :s

Re: Terminal-based auto-paste.

2006-07-07 Thread Sean Reifschneider
On Fri, Jul 07, 2006 at 11:35:41AM +0300, Yakov Lerner wrote: >On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: >>What I'm really looking for is that when I paste using the mouse, that >>"paste" is set. > >How about this > >:map :set paste"*p:set nopaste >and similar thing for imap I beli

Re: Terminal-based auto-paste.

2006-07-07 Thread Yakov Lerner
On 7/7/06, Sean Reifschneider <[EMAIL PROTECTED]> wrote: What I'm really looking for is that when I paste using the mouse, that "paste" is set. How about this :map :set paste"*p:set nopaste and similar thing for imap -- untested Yakov