Zdenek Sekera wrote:
I have this:
if (char =~ '\m[;|?:[EMAIL PROTECTED]*(){}\\_+-[\]/\]')
do something
endif
Basically it is checking for all non-alphanumeric chars
(expect '=').
1. how do I include the ' char?.
I can't seem to find a proper way.
(I'd like to keep the patter in
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: 23 May 2006 14:22
To: Zdenek Sekera
Cc: vim-dev@vim.org
Subject: Re: Pattern questions
Zdenek Sekera wrote:
I have this:
if (char =~ '\m[;|?:[EMAIL PROTECTED]*(){}\\_+-[\]/\]')
do something
endif
create a file ~/.vimtest as follows:
cat .vimtest
set nocompatible
set readonly
C-D
and execute (g)vim:
vim .vimtest -u .vimtest
try :set readonly? and you'll get 'noreadonly'.
Looks strange at the minimum, bug?
---Zdenek
I wouldn't expect that to work. There is no defined loaded buffer
when the -u vimrc is run. 'readonly' is local to buffers only, so in
your example, it has no buffer to be applied to.
If you want everything to be readonly, try setting a BufEnter autocommand.
If you want just one file to be
As far as I can tell, there are several instances where there are
transitory buffers as vim is starting, opening a new tab, probably
some in closing op.s.
I don't know if I used the right word by saying the buffer is
undefined, but I don't think it it's guaranteed to be usable until a
certain
Charles E Campbell Jr wrote:
Hello, Tony!
I've had several folks having a problem with WinXP and netrw. The
problems seem to involve temporary files during attempts to use ftp;
since temporary filenames are produced by tempname(), they're o/s
dependent. Admittedly without having searched
I am trying to use the ':py' interface to evaluate text under cursor and show
the result in a balloon text. I got the python and vim code to work easily,
however I have problem communicating between the two (py and vim):
1. How do I access vim variables in py commands
(like text under
On 5/23/06, Zdenek Sekera [EMAIL PROTECTED] wrote:
I have this:
if (char =~ '\m[;|?:[EMAIL PROTECTED]*(){}\\_+-[\]/\]')
do something
endif
Basically it is checking for all non-alphanumeric chars
(expect '=').
1. how do I include the ' char?.
I can't seem to find a proper way.
(I'd
Hi,
When i upgraded my vim from vim6.2 to vim7.0, i am finding that the
feature viminfo is not working. (Viminfo remembers last position in the
file when we reopen file). I had set the viminfo option in my .vimrc
file as.
set viminfo='1000,f1,\500
Do i have to add any special options for vim7 ?.
Robert Cussons wrote:
...snip
Alternately, you can /set/ different highlighting colors by using a
color scheme (see :help :colorscheme). Make sure that you use a
color scheme with a bright background and dark text. Or else, view
the file in the GUI, which uses black text on white background
On Tue, May 23, 2006 at 05:30:37PM +0530, Srinivas Rao. M wrote:
Hi,
When i upgraded my vim from vim6.2 to vim7.0, i am finding that the
feature viminfo is not working. (Viminfo remembers last position in the
file when we reopen file). I had set the viminfo option in my .vimrc
file as.
set
-Original Message-
From: Yakov Lerner [mailto:[EMAIL PROTECTED]
Sent: 23 May 2006 11:37
To: Zdenek Sekera; vim mailing list
Subject: Re: Pattern questions
On 5/23/06, Zdenek Sekera [EMAIL PROTECTED] wrote:
I have this:
if (char =~ '\m[;|?:[EMAIL PROTECTED]*(){}\\_+-[\]/\]')
I tried SiEd - pedit seemed more complicated than I need. Still would
be nice to have vim for palm os.
-Original Message-
From: Marv Boyes [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 10:53 AM
To: vim@vim.org
Subject: Re: Vim for Palm
In terms of power beyond just editing, you
I'm using VIM on windows with cygwin. In my _vimrc I've got the
following
automatically swithc directories
set autochdir
For cygwin shell
set shell=C:/cygwin/bin/bash
set shellcmdflag=--login\ -c
set shellxquote=\
When I try to use cygwin
This is partly due to the use of --login , which causes it to act
as if it's a fresh login shell, so of course, it goes to your home
directory. Try it with just -c .
Without setting that, zsh and bash seem to honor $PWD, probably, which
I suspect is exported by Vim.. I'm having trouble
Furash Gary wrote:
I'm using VIM on windows with cygwin. In my _vimrc I've got the
following
automatically swithc directories
set autochdir
For cygwin shell
set shell=C:/cygwin/bin/bash
set shellcmdflag=--login\ -c
set shellxquote=\
When I try to use cygwin stuff with
On 2006-05-24, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Furash Gary wrote:
I'm using VIM on windows with cygwin. In my _vimrc I've got the
following
automatically swithc directories
set autochdir
For cygwin shell
set shell=C:/cygwin/bin/bash
set
I copied it from a vim help note without really understanding it. Makes
100% sense now, but... Is there still a way to get it to act like I've
logged in (e.g., run .bashrc etc.)?
-Original Message-
From: Gary Johnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 23, 2006 3:14 PM
To:
Just tried it and ran into the problem I thought I would. Removing
login eliminates the problem of it not knowing where it is, but it no
longer runs .profile and so on, so as a result it's missing my changes
to the path, aliases, etc.
Hmm...
-Original Message-
From: Gary Johnson
Try this:
set shell=C:/cygwin/bin/bash
let $BASH_ENV = '~/.bashrc'
let shellcmdflag='-c'
On 5/23/06, Eric Arnold [EMAIL PROTECTED] wrote:
Off hand, I can't remember the exact name, but I think that there is a
special rc filename that is executed even when it isn't a login
On Wed, 24 May 2006, A.J.Mechelynck wrote:
Eric Arnold wrote:
Off hand, I can't remember the exact name, but I think that there is a
special rc filename that is executed even when it isn't a login
shell.
[...]
Yes, I think so too, and I don't remember it offhand either, but man bash
Gerald Lai wrote:
On Wed, 24 May 2006, A.J.Mechelynck wrote:
Eric Arnold wrote:
Off hand, I can't remember the exact name, but I think that there is a
special rc filename that is executed even when it isn't a login
shell.
[...]
Yes, I think so too, and I don't remember it offhand
On Sun, 21 May 2006, Yakov Lerner wrote:
I created systags per ':help ft-c-omni' suggestion:
ctags -R -f ~/.vim/systags /usr/include /usr/local/include
and added systags to tags (set tags+=~/.vim/systags).
Now I find that system() does not
appear in ~/.vim/systags generated as above. This is
23 matches
Mail list logo