All,
I am trying to keep track of the number of buffers in the buffer list.
I'm doing this with the following code:
autocmd BufAdd * let g:zbuflistcount += 1
autocmd BufDelete * let g:zbuflistcount -= 1
The problem is I found this to be very unreliable in some circumstances,
and
On Sun, Nov 12, 2006 at 07:14:49PM -0600, Bill McCarthy wrote:
On Sun 12-Nov-06 6:17pm -0600, [EMAIL PROTECTED] wrote:
I am trying to keep track of the number of buffers in the buffer list.
I'm doing this with the following code:
autocmd BufAdd * let g:zbuflistcount += 1
On Sun 12-Nov-06 7:54pm -0600, [EMAIL PROTECTED] wrote:
Well I'm reporting the above g:zbuflistcount in my 'rulerformat'.
Don't you think you should have mentioned that?
I really don't think I can afford the baggage of calling your function
from within my 'rulerformat'.
No, for 100 buffers,
On 11/12/06, Meino Christian Cramer [EMAIL PROTECTED] wrote:
Hi,
Currently I want to reformat a huge table of data of shortwave
broadcasters. This table is build from lines of 318 characters each
(***none is shorter or longer***). The entries are speperated by
char/byte offsets only
On Sat, 11 Nov 2006 22:34:52 -0500
Benji Fisher [EMAIL PROTECTED] wrote:
What can cause a program to search through the whole tree of the
source of an installed software package?
There are lots of things that could cause this. For example, a
line like
:vimgrep /todo/g
if i use the character '@' in a regular expression, i need use the '\' before?
i try do
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
but didn't work
Rui Gonçalves wrote:
if i use the character '@' in a regular expression, i need use the '\'
before?
i try do
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]
but didn't work
1. Don't escape the @ if you want to match a @
2. Do escape the + if you want to match one or more, as many as possible.
I use =a{ all the time. I often write blocks of code using snippets from other
places (function prototypes, member variables, conditionals, and so on), and
=a{ will format just that block.
It also looks vaguely like a smiley face, which is nice :)
Max
-Original Message-
From: Kim
Kim Schulz asked on November 12, 2006 12:30 PM
Hi,
I am currently looking into different tricks for formatting
text, code, etc. in Vim. I guess most users know the format-
paragraph command gqq or the reindent entire code 1G=G But are
there any other neat tricks - which
I am currently looking into different tricks for formatting text,
code, etc. in Vim.
I guess most users know the format-paragraph command gqq or the
reindent entire code 1G=G
But are there any other neat tricks - which ones are your favorites?
Well, though not exactly text/code
Kim Schulz [EMAIL PROTECTED] 写于 2006-11-13 04:29:53:
I am currently looking into different tricks for formatting text,
code, etc. in Vim.
I guess most users know the format-paragraph command gqq or the
reindent entire code 1G=G
But are there any other neat tricks - which ones are your
11 matches
Mail list logo