Thursday, July 1, 2010

Re: percentage of vim users running python

On 06/30/2010 07:01 PM, Ted wrote:
> Thanks to all for providing input on my question.  I realized that the
> demographic is a bit more restricted than the general population of
> vim users; it is that portion thereof who actually install vim modules
> at all.  It's informative to learn that there are some in that group
> who would not be willing to install python as a module dependency.


It would be really great if Python became widely included with Vim,
there's a very large number of Python developers who use Vim but don't
know VimL or only know a little bit of it. On top of that, Python is a
very clean, powerful language with extensive libraries.

I think it's a chicken and an egg problem, once there's a large number
of good plugins, more people will choose to install python with Vim and
this will lead to more good plugins. -ak

Re: Feature Request...

On 06/24/2010 08:59 AM, Jens-Wolfhard Schicke wrote:
> I was just missing a command. And then I though about it for some time, and I think I would actually use it a lot:
> Single character insert. Just like "r" will let you replace one character, I often need to insert a single character.
> Currently I press "i<Whatever><ESC>", taking three strokes (one of them ESC or Ctrl-[, both of which involve some hand moving).
>
> With the single character insert, the most awkward of the three strokes would go away.
>
> Or am I just missing the right command?
>
> Regards,
>   Jens


By the way, what keyboard are you using? I thought about this a bit and
I realized that I almost never need to do this; I use IBM model M
clicky keyboard which makes it very easy to almost never miss keys.

   -ak

--
 Python plugins for vim: outliner, todo list, project manager, calendar,
 expenses tracker, sortable table, and more |
 http://lightbird.net/pysuite/


include option

I'm trying to make vim look inside php include files. A php include
statement can be:

include 'file.php'

OR

include_once 'file.php'

It works if I do:

set include=^include

OR

include=^include_once

But I can't seem to do recognize both. This doesn't work:

set include=^\(include\|include_once\)

Thanks!

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vimdiff-like highlighting within the same file?

Efraim Yawitz wrote:
> I've also wanted to do diffs within the same file, and now I'm
> thinking that this is really just a special case of something more
> general that may have other uses (although I haven't thought of them
> yet). The concept here is "virtual buffers" which would represent a
> portion of a file, or more generally, a number of portions of a number
> of files concatenated together. Once you could do something like
>
> :virtbuf bufname filename startline endline
>
> to create a virtual buffer, diffing it with another real or virtual
> buffer would be easy.
>
> I'm wondering if this isn't already possible with some of the
> vimscript commands. If not, I may look into how to do it in the C code.
Look into Christian Brabandt's NrrwRgn plugin, available at
http://www.vim.org/scripts/script.php?script_id=3075 .

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: Analog to SHIFT+Asterisk

Great. Exactly what I was looking for.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Re: vimdiff-like highlighting within the same file?

I've also wanted to do diffs within the same file, and now I'm thinking that this is really just a special case of something more general that may have other uses (although I haven't thought of them yet).  The concept here is "virtual buffers" which would represent a portion of a file, or more generally, a number of portions of a number of files concatenated together.  Once you could do something like

:virtbuf bufname filename startline endline

to create a virtual buffer, diffing it with another real or virtual buffer would be easy.

I'm wondering if this isn't already possible with some of the vimscript commands.  If not, I may look into how to do it in the C code.

Ephraim

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Data Backup

Most backup software programs data offer some form of data .
Filtering allows you to filter certain types of files for backup. For
example, you can select to backup all of the images in your hard drive-
giving you the freedom to refine your data backup in ways that best
suit your needs. This tool is also available on most backup software.
http://www.geekzwa.com.au

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php