Antoine J. Mechelynck | 1 Aug 2004 01:10

Re: copy'n'paste from error messages

Dave Silvia <dsilvia <at> mchsi.com> wrote:
> Whew!  That's a lot.  Actually, I was just wondering if there was
> some type of setting that could be made to allow simple selection and
> copy.  I guess there isn't.
>
> thx,
> Dave S.
[...]

You might be interested by ":help modeless-selection". I don't use it much,
but YMMV.

Regards,
Tony.

David.Fishburn | 1 Aug 2004 01:34
Picon
Favicon

Re: tabbed buffers?

There is a plugin that provides this functionality. I believe it is called minibufexplorer. 

Have you had a look at it?

Dave

----- Original Message -----
From: news [news <at> sea.gmane.org]
Sent: 07/31/2004 09:51 AM
To: vim <at> vim.org
Subject: tabbed buffers?

Is there talk of giving tabbed buffers to Vim? By that I mean, you open a
file, you get a tab, you open another file you get a tab.

Robert

David Fishburn | 1 Aug 2004 04:44
Favicon

RE: copy'n'paste from error messages

> You might be interested by ":help modeless-selection". I 
> don't use it much, but YMMV.

Hey, that is a great item to remember.  Yet another key stroke, but it can
come in very handy.

Dave

Benji Fisher | 1 Aug 2004 04:51

Re: what buffer means in inoremap <buffer> bla blabla

On Sun, Jul 25, 2004 at 07:55:10AM +0200, Antoine J. Mechelynck wrote:
> Akbar <melinda_sayang <at> hotpop.com> wrote:
> > Antoine J. Mechelynck wrote:
> > > Akbar <melinda_sayang <at> hotpop.com> wrote:
> > >
> > > > I found java.vim plugin. Here is the code:
[snip]
> > Hey,
> >
> > I just need more help. How do I use this plugin? I already know what
> > buffer mean. Look at this mapping:
> > inoremap <buffer> <C-T>I Integer
> > How do I use this mapping?
> > Control-T first then type I or type them together? In Insert Mode or
> > Normal mode?
> > I tried them all. No luck. How do I use this mapping? I don't
> > understand. How do I expand I to Integer?
> >
> > Thank you....
> 
> imap or inoremap: the mapping applies to Insert mode only
> 
> <C-T>I
> 
>     1. Press and hold Ctrl
>     2. Press and release t
>     3. Release Ctrl
>     4. Press and release i

     Maybe I instead of i ...
(Continue reading)

Steve Hall | 1 Aug 2004 05:04
Picon

imdisable and <S-Space> in GTK+2


Can anyone explain why is <S-Space> unable to be mapped in GTK+2
without :set imdisable ? I'd like to have both if possible.

Thanks.

--

-- 
Steve Hall  [ digitect <at> mindspring.com ]

Benji Fisher | 1 Aug 2004 05:02

Re: Syntax folding

On Mon, Jul 26, 2004 at 12:27:46AM +0100, Geoff Caplan wrote:
> Hi folks,
> 
> Tying to set folding via the syntax method - with conspicuous lack of
> success. Struggling to understand why: I've had this working in the
> past.
> 
> I am working with .php files. Syntax highlighting is working ok, and
> the php syntax file offers folding. Have tried various combinations of
> the following in .vimrc:
> 
> set foldmethod=syntax
> set foldlevel=1
> let php_folding=1
> 
> Nothing seems to have the slightest effect.

     If you set them in your vimrc file, they may or may not still be in
effect when you want to use them.  Perhaps the first two commands belong
in ~/.vim/ftplugin/php.vim or ~/.vim/after/ftplugin/php.vim .  What does

:set foldmethod? foldlevel?
:echo php_folding

show?

     What version of vim are you using?  can you give a small example of
a php file so that I can try to reproduce the problem?

HTH					--Benji Fisher
(Continue reading)

Benji Fisher | 1 Aug 2004 05:17

Re: How to horizontal-scroll (zl) by pressing and holding zl

On Mon, Jul 26, 2004 at 10:06:01PM -0400, David Fishburn wrote:
>  
> 
> > -----Original Message-----
> > From: Suresh Govindachar [mailto:sgovindachar <at> yahoo.com] 
> > Sent: Monday, July 26, 2004 1:50 PM
> > To: vim <at> vim.org
> > Subject: How to horizontal-scroll (zl) by pressing and holding zl
> > 
> > Hello,
> > 
> > My guioptions equals a (no toolbar, no menus, no scrollbar etc.).
> > 
> > Each time I press z and l, there is a horizontal scroll of 
> > one character.  However, pressing and holding z and l does 
> > not work to horizontally scroll.  Is there a way to get this 
> > to work?  If not, any suggestions for doing horizontal scroll 
> > using the keyboard?
> > 
> > Here's something I am thinking of trying: 
> > 
> > 1) set sidescroll to 1
> > 2) map zl to make the cursor jump to rightmost
> >    visible character [HOW?]
> > 3) continue scrolling with l 
> > 
> > If (2) cannot be done, then I'll set sidescrolloff to a large 
> > number.  (But with sidescrolloff being a large number, 
> > entering text is somewhat like typing on a typewriter with 
> > its carriage moving to the left! -- something that is worse 
(Continue reading)

Dave Silvia | 1 Aug 2004 11:20

MiniVimGrep() superceded

For those of you whose mailer daemons won't accept html, I'm resending with
a txt attachment (not as neatly formatted, but still informative!)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I just uploaded a new package for grep-ing without grep program to Scripts
at vim.org.  The package is vimgrep_vim.zip and supercedes MiniVimGrep()
with Vimgrep() (a little easier to type, a bit more tersely descriptive, but
hardly reasons for an update!).  It's more robust, with more functionality.
I'm attaching the html doc for it, fyi.

Hope it's helpful!  Would appreciate any feedback.

thx,
Dave S.
Vimgrep
Page 1 of 8

 The  plugin  vimgrep.vim implements grep type searching using native  vim
 search  capabilities only.  It allows the user to have  wholly  contained
 file  searching  within  Vim  and no need of outside  grep  style  search
 programs.  The implementation uses commands where appropriate for ease of
 use  and/or a function interface for scripting and non-command line  echo
 return.

 The  nominal command and function of vimgrep.vim are both named  Vimgrep.
 They have identical arguments, excepting that the command mechanism wraps
 its  arguments  for functions in quotes, so allowances in usage  must  be
 made for this.  It is perhaps easier to just get used to one or the other
 and  use it exclusively.  The more desirable of the two would then be the
(Continue reading)

Rainer Bendig | 1 Aug 2004 12:02

show total bytes in file

Hi,
is it possible to show the total bytes in the file while i am editing
it left or right from "line,char" ?
--

-- 
so long,
Rainer Bendig aka mindz                 PGP/GPG key   (ID: 0xCC7EA575)
http://DigitallyImpressed.com           Get it from wwwkeys.de.pgp.net
for contacting me take a look on http://digitallyimpressed.com/contact
----------------------------------------------------------------------
Don't reply to this e-mail address and please don't cc to me on lists.
If we meet on a list, you can be sure that i am already on the list.

Antoine J. Mechelynck | 1 Aug 2004 12:20

Re: show total bytes in file

Rainer Bendig <lists <at> digitallyimpressed.com> wrote:
> Hi,
> is it possible to show the total bytes in the file while i am editing
> it left or right from "line,char" ?
> --
> so long,
> Rainer Bendig aka mindz                 PGP/GPG key   (ID: 0xCC7EA575)
> http://DigitallyImpressed.com           Get it from wwwkeys.de.pgp.net
> for contacting me take a look on http://digitallyimpressed.com/contact
> ----------------------------------------------------------------------
> Don't reply to this e-mail address and please don't cc to me on lists.
> If we meet on a list, you can be sure that i am already on the list.

Yes, it is. You'll need to write your own 'statusline' option, with
everything you want to appear. The filesise is

    line2byte(line("$") + 1)

see
    :help 'statusline'
    :help line2byte()

HTH,
Tony.


Gmane