Dnia wtorek, 25 lipca 2006 02:14, Eric Van Dewoestine napisał:
1. We are in /home/mikolaj::
echo findifile(b, 1;)
1/b
You are giving findfile() a relative path to search, so it is
returning a relative result.
Result is the same regardless to path in second argument.
Dnia wtorek, 25 lipca 2006 07:11, A.J.Mechelynck napisał:
I don't see any inconsistency. According to the help, findfile() is
Just like |finddir()|, but find a file instead of a directory. and
finddir() has: When the found directory is below the current directory
a relative path is returned.
On 7/25/06, Mikolaj Machowski [EMAIL PROTECTED] wrote:
Dnia wtorek, 25 lipca 2006 02:14, Eric Van Dewoestine napisał:
1. We are in /home/mikolaj::
echo findifile(b, 1;)
1/b
You are giving findfile() a relative path to search, so it is
returning a relative result.
Benji Fisher wrote:
On Fri, Jul 21, 2006 at 03:31:15PM -0500, mwoehlke wrote:
Is this possible? It just occurred to me that it would be great if there
was a VIM-related program that would 'cat' in color using VIM's
highlighting rules. Is this something that VIM could be made to do via
I noticed recently that vim does not always set 'filetype' to mail
when I edit mutt temporary files, e.g., postponed messages. I
traced the problem to mutt's use of mktemp() with the pattern
muttXX. I don't know about other OSs, but mktemp() on SunOS
5.8 replaces those Xs with characters
On 7/26/06, mwoehlke [EMAIL PROTECTED] wrote:
Gary Johnson wrote:
I noticed recently that vim does not always set 'filetype' to mail
when I edit mutt temporary files, e.g., postponed messages. I
traced the problem to mutt's use of mktemp() with the pattern
muttXX. I don't know about
Yakov Lerner wrote:
On 7/26/06, mwoehlke [EMAIL PROTECTED] wrote:
Gary Johnson wrote:
I noticed recently that vim does not always set 'filetype' to mail
when I edit mutt temporary files, e.g., postponed messages. I
traced the problem to mutt's use of mktemp() with the pattern
muttXX.
On 7/25/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 7/23/06, Nikolai Weibull [EMAIL PROTECTED] wrote:
On 7/23/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 7/23/06, Nikolai Weibull [EMAIL PROTECTED] wrote:
When output from for example :echon comes within 12 columns of the
right hand
Dnia wtorek, 25 lipca 2006 16:50, Eric Van Dewoestine napisał:
So, the results are still consistent with the documented behavior.
But not internally consistent. But OK - it is documented behaviour.
Regarding ';', the docs imply that it forces a search upwards, but
should probably state that
Hello Vim Developers,
I was timing the startup process by stepping though what I
think Gvim does (on Win XP Pro with 7.0.42).
gvim -u NONE -N
That starts up without _vimrc or _gvimrc or plugins and sets
nocp.
:so $vim\_vimrc
worked fine.
:so $vim\_gvimrc
also worked fine.
Bill McCarthy wrote:
Hello Vim Developers,
I was timing the startup process by stepping though what I
think Gvim does (on Win XP Pro with 7.0.42).
gvim -u NONE -N
That starts up without _vimrc or _gvimrc or plugins and sets
nocp.
:so $vim\_vimrc
worked fine.
:so $vim\_gvimrc
Most of my development work is done on a Unix system (usually SunOS
but sometimes Linux or HP-UX), but some requires that I use Windows
XP. Source code is maintained under ClearCase on all these systems
except Linux. I'm trying to get my Windows environment tuned up so
that development is as
Yakov Lerner wrote:
On 7/24/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
The French have
used accented letters since (IIUC) before Gutenberg invented printing.
While Antonie helps us with bits of history, I thought I'd ask this. I
was on
irc chat, and somehow the issue of French using a lot
Gary Johnson wrote:
Most of my development work is done on a Unix system (usually SunOS
but sometimes Linux or HP-UX), but some requires that I use Windows
XP. Source code is maintained under ClearCase on all these systems
except Linux. I'm trying to get my Windows environment tuned up so
In a function,
I am executing a search.
I have to implement different things based on whether search got a
result or failed with an error.
exec '/^\w\+\t\w\+'
In the next line, I have to check whether the test passed or failed.
How do I do this ?
Regards,
Shankar
Shankar Ramakrishnan
Hi,
SHANKAR R-R66203 wrote:
In a function,
I am executing a search.
I have to implement different things based on whether search got a
result or failed with an error.
exec '/^\w\+\t\w\+'
In the next line, I have to check whether the test passed or failed.
How do I do this ?
I am actually having a little bit complicated situation.
Inside a search() fucntion, can I use, variables.
The part of the code is given below.
let rs_sig = expand(cword)
exec '1'
exec '/^\s*module\s\+\w\+'
let rs_line=getline(.)
let
Hi,
SHANKAR R-R66203 wrote:
I am actually having a little bit complicated situation.
Inside a search() fucntion, can I use, variables.
The part of the code is given below.
let rs_sig = expand(cword)
exec '1'
exec '/^\s*module\s\+\w\+'
let rs_line=getline(.)
let
A.J.Mechelynck [EMAIL PROTECTED] wrote:
If you want step-by-step help about how to compile Vim on Unix-like
systems, see my page
http://users.skynet.be/antoine.mechelynck/vim/compunix.vim
I most probably won't compile on the productive servers, but consider to do it
on my virtual server.
On 7/25/06, Tobias Herp [EMAIL PROTECTED] wrote:
A.J.Mechelynck [EMAIL PROTECTED] wrote:
If you want step-by-step help about how to compile Vim on Unix-like
systems, see my page
http://users.skynet.be/antoine.mechelynck/vim/compunix.vim
I most probably won't compile on the productive
Yakov Lerner [EMAIL PROTECTED] wrote:
On 7/24/06, Tobias Herp [EMAIL PROTECTED] wrote:
Hi, fellow vimmers,
just returning to work after two weeks, I found that vim on several
Linux machines doesn't start up properly anymore; it says
Keine Zuordnung gefunden
Keine Zuordnung gefunden
If you were always wanted to build vim from sources (on unix/cygwin)
but did not know where to start, don't hesitate to pick the vim7_install.sh
from
http://www.vim.org/scripts/script.php?script_id=1473
, also attached. It allows you to {download, build and install} vim7 in
once command,
On 7/25/06, Yakov Lerner [EMAIL PROTECTED] wrote:
If you were always wanted to build vim from sources (on unix/cygwin)
Grammar correction. I wanted to write:
If you always wanted ...
[more way off topic comments]
...some linguists say that those silent letters are not artifacts, but
reflect __phonemes__ (is that the word?) that are still present in the
mental representation of the language...
--__morphemes__, actually, from a written point of view (you did say
letters).
Dear All,
My file is like the following:
data_1.dat pre= -1908.77 post= -48977.33 diff= -448.947
data_2.dat pre= -444.333 post= -333.545 diff= -777.333
.
.
I hope to find out a regular expression subtitution commad to delete
everything after dat to get a file like:
data_1.dat
data_2.dat
Xiaoshen Li wrote:
Dear All,
My file is like the following:
data_1.dat pre= -1908.77 post= -48977.33 diff= -448.947
data_2.dat pre= -444.333 post= -333.545 diff= -777.333
.
.
I hope to find out a regular expression subtitution commad to delete
everything after dat to get a file like:
My file is like the following:
data_1.dat pre= -1908.77 post= -48977.33 diff= -448.947
data_2.dat pre= -444.333 post= -333.545 diff= -777.333
.
.
I hope to find out a regular expression subtitution commad to delete
everything after dat to get a file like:
data_1.dat
data_2.dat
.
.
I
On Tue, Jul 25, 2006 at 10:27:58AM EDT, Russell Bateman wrote:
[more way off topic comments]
[...]
Phonemes are (very) roughly equivalent to syllables and exist at the
oral or phonetic level. French has the peculiarity, more than most other
Western languages in my observation, of its end
On Tue, Jul 25, 2006 at 03:09:29AM EDT, A.J.Mechelynck wrote:
[..]
and it can change fonts on-the-fly (change
the font from Courier to Lucida to whatever, only through Vim keyboard
commands).
I would never want do that.. but just out of curiosity.. why would that
not be possible in an
Why not just
s/ .*//
?
(For either vim or sed.)
Marshall
On Jul 25, 2006, at 1:09 PM, Tim Chase wrote:
My file is like the following:
data_1.dat pre= -1908.77 post= -48977.33 diff= -448.947
data_2.dat pre= -444.333 post= -333.545 diff= -777.333
.
.
I hope to find out a regular
How would I match (and then delete) all of the words in a buffer that
are not capitalized? Thanks.
--
yours,
William
Make sure 'ignorecase' is off:
:set noignorecase
:%s/\[a-z]\+\//g
Salman.
-Original Message-
From: William O'Higgins Witteman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006 4:24 PM
To: vim
Subject: Matching non-capitalized words?
How would I match (and then delete)
Make sure 'ignorecase' is off:
:set noignorecase
:%s/\[a-z]\+\//g
If you don't want to bung with your vim-wide (or bufferwide)
settings, you can always just change your :s to include the I flag.
:%s/\[a-z]\+\//gI
Additionally, this will not find camel-case words, such as
Russell Bateman wrote:
[more way off topic comments]
...some linguists say that those silent letters are not artifacts, but
reflect __phonemes__ (is that the word?) that are still present in the
mental representation of the language...
--__morphemes__, actually, from a written point of view
cga2000 wrote:
On Tue, Jul 25, 2006 at 03:09:29AM EDT, A.J.Mechelynck wrote:
[..]
and it can change fonts on-the-fly (change
the font from Courier to Lucida to whatever, only through Vim keyboard
commands).
I would never want do that.. but just out of curiosity.. why would that
not be
SHANKAR R-R66203 wrote:
In a function,
I am executing a search.
I have to implement different things based on whether search got a
result or failed with an error.
exec '/^\w\+\t\w\+'
In the next line, I have to check whether the test passed or failed.
How do I do this ?
Regards,
Tobias Herp wrote:
Charles E Campbell Jr wrote:
Tobias Herp wrote:
My vim version (SuSE Linux 9.1):
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Apr 6 2004 03:03:03)
...
Yakov gave you good advice; here's some more: build vim 7.0 .
Well, I probably would, but those are business servers or
Tobias Herp wrote:
A.J.Mechelynck [EMAIL PROTECTED] wrote:
If you want step-by-step help about how to compile Vim on Unix-like
systems, see my page
http://users.skynet.be/antoine.mechelynck/vim/compunix.vim
I most probably won't compile on the productive servers, but consider to do it
on
I'm editing binary files with Vim using set display=uhex and I was
wondering if there's a way to insert characters given their scancode.
Something like what I used to do in DOS by holding Alt then typing the
number of the character to enter?
I'm editing binary files with Vim using set display=uhex and
I was wondering if there's a way to insert characters given
their scancode. Something like what I used to do in DOS by
holding Alt then typing the number of the character to enter?
Sounds like you're looking for what's described at
Tim Chase wrote:
I'm editing binary files with Vim using set display=uhex and
I was wondering if there's a way to insert characters given
their scancode. Something like what I used to do in DOS by
holding Alt then typing the number of the character to enter?
Sounds like you're looking for
Hi,
Tim Chase wrote:
Make sure 'ignorecase' is off:
:set noignorecase
:%s/\[a-z]\+\//g
If you don't want to bung with your vim-wide (or bufferwide)
settings, you can always just change your :s to include the I flag.
:%s/\[a-z]\+\//gI
another option is to include \C in
42 matches
Mail list logo