On Tue, May 02, 2006 at 02:03:47PM -0400, James Vega wrote:
> On Tue, May 02, 2006 at 08:27:49PM +0300, Yakov Lerner wrote:
> > On 5/2/06, o1792 <[EMAIL PROTECTED]> wrote:
> > BTW, can anyone explain why this pattern does *not*
> > work, does not match words that do not end with 'ion' :
> >/\i\
On 5/2/06, John Player <[EMAIL PROTECTED]> wrote:
> I did , too. File is in disk cache in both cases. In 1st case,
> file opens imemdiately. In 2nd case, it takes time. I suspect
> that for unlisted+hidden files, vim keeps swapfile open which is
> what helps him open file immediately without usin
Hi,
I'm using VIM on WinXP and want to move my files now also to Linux.
I copied the files and VIM reads in my .vimrc.
It comes up with a bounce of errors all related to ^M.
When I open this file on my WinXP I don't see them.
What do I need to do to make these ^M also visible on my WinXP machine
Thanks a lot Tim. You is right about what I meant. To make it more clear,
here are the rows.
.
.
i1 0 9 180 /*this is the 420 line number*/
.
i2 0 17.1 220 /*430*/
.
i3 + 7.875 365 /*710*/
the numbers in question are 180, 220 and 365.
No tested your code yet. I'll give a try tomorrow.
[c
--- Eric Leenman <[EMAIL PROTECTED]> wrote:
> I want to remove the ^M on my WinXP machine and then copy them over again
> to
> my linux machine.
:h fileformat
You set it to whichever one you want to use at the time.
-- Thomas Adam
I want to remove the ^M on my WinXP machine and then copy
them over again to my linux machine.
This is the ever-popular line-break-delimiter problem.
If you do
:set ff?
Vim will likely currently come back with "dos".
You should be able to solve it by executing
:set ff=unix
--- Eric Leenman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using VIM on WinXP and want to move my files now
> also to Linux.
> I copied the files and VIM reads in my .vimrc.
> It comes up with a bounce of errors all related to
> ^M.
>
> When I open this file on my WinXP I don't see them.
> What d
Hi Eric,
Do this to see which line-endings the buffer is associated with...
:set ff?
Do this to change them...
:set ff=unix
:wq
For info...
:help 'fileformat
On WinXP, I strictly use the unix (0A) line endings, I do not use mac (0D)
or dos (0D 0A). I wish Vim internally supported nul (00) l
I wish Vim internally supported nul (00) line endings,
but alas.
You might be able to set up a before/after filter, much like
the gzip example (":help gzip-example"), using tr, of the form
tr '\000\012' '\012\000'
This will swap all NUL characters in the file and 0x0A
(octal 012) ch
Thank you all I got it working.
One thing that seems to be broken is the VIM tip
On http://www.vim.org/tips/tip.php?tip_id=892
fun! InitBex()
let myvar = strftime("(%y%m%d)[%Hh%M]")
let myvar = "set backupext=_". myvar
execute myvar
echo myvar
endfun
map :call InitBex()
On my WinXP I use gvim
On Tue, May 02, 2006 at 08:27:49PM +0300, Yakov Lerner wrote:
BTW, can anyone explain why this pattern does *not*
work, does not match words that do not end with 'ion' :
/\i\+\(ion\)[EMAIL PROTECTED]/
I thought this pattern would match words not ending with
'ion'. But it matches all words, inc
Hi,
I have vim 6.4 (non cygwin) installed on a couple of Win2k3 servers, running
the built in MS telnet server.
When I connect using the built-in WinXP/Win2k telnet client I am able to get
color in vim console sessions without any problems, and everything seems to
be working very well.
Except fo
When I connect using the built-in WinXP/Win2k telnet
client I am able to get color in vim console sessions
without any problems, and everything seems to be working
very well.
Except for one (minor) annoyance -- every time I press
enter in insert mode I get two line-fees (as if it was
pressed twic
| I suspect this is a telnet thing...that you have CR<->CR/LF
| translation enabled for the connection; that your telnet software is
| doing a translation of your single CR into a CR/LF which gets passed
| to vim.
Cheers, man - that did it!
Pressing the ^] in the client and then unset crlf fix
I want to trap changes in the value of 'modified' (execute
my commands when first change is done to the
buffer, and when undo reverts buffer to unmodified state).
How can I achieve this ?
Note that this is not necessarity connected to Insert mode.
Buffer can easily become modified without enter
Daniel Einspanjer <[EMAIL PROTECTED]> wrote:
The docs in :help /[EMAIL PROTECTED] answer this query pretty well.
Reminds me. Professor gives a lecture in mathematics.
At some point he says "From this it obviously follows .." and writes
long something that does not resemble anything he's writte
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 03, 2006 4:19 AM
> On 5/2/06, John Player <[EMAIL PROTECTED]> wrote:
> > You may be right -- I don't use the swapfile so I don't see
> > the difference. That still means that the help is incorrect.
>
> Without connection to th
On 5/3/06, Hugo Ahlenius <[EMAIL PROTECTED]> wrote:
Hi,
I have vim 6.4 (non cygwin) installed on a couple of Win2k3 servers, running
the built in MS telnet server.
When I connect using the built-in WinXP/Win2k telnet client I am able to get
color in vim console sessions without any problems, an
On Sun, Apr 30, 2006 at 07:46:25PM +0800, shello wrote:
> Is there any quick way to move to the end of the line in insert mode ?
> i map a key to do that
> : inoremap $a
There is also A which is equal to $a
A matched set of external utilities I often use in the *nix world are
"dos2unix" and "unix2dos".
HTH
Roy Fulbright
From: "Eric Leenman" <[EMAIL PROTECTED]>
To: vim@vim.org
Subject: ^M problems with migrating VIM from WinXP to Linux
Date: Wed, 03 May 2006 10:15:18 +
Hi,
I'm using VIM on
Hi,
this is the continuation of a post... The point is that I have a file
where blocks of text appear sometimes once, sometimes twice or even
three times etc...
I would like to find out how to delete the blocks that are repeated,
so that in the end I am left with a text file in which the blocks
a
I've Googled and Yahooed my way around the web trying to find the answer
to this to no avail, so I thought I would query this potential gold mine
of information.
I would really love a way to be able to select a line, or a range of
lines, press a button and have them highlighted in a different man
On Wed, 3 May 2006, Max Dyckhoff wrote:
I've Googled and Yahooed my way around the web trying to find the answer
to this to no avail, so I thought I would query this potential gold mine
of information.
I would really love a way to be able to select a line, or a range of
lines, press a button an
Hah, I actually run across that in my searches, but was put off by the
description. Upon further reading it appears to be exactly what I want.
Thanks!
Max
-Original Message-
From: Gerald Lai [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 4:44 PM
To: Max Dyckhoff
Cc: vim@vim.org
On Wed, 3 May 2006, Vim Visual wrote:
Hi,
this is the continuation of a post... The point is that I have a file
where blocks of text appear sometimes once, sometimes twice or even
three times etc...
I would like to find out how to delete the blocks that are repeated,
so that in the end I am lef
On Wed, 3 May 2006, Gerald Lai wrote:
On Wed, 3 May 2006, Vim Visual wrote:
Hi,
this is the continuation of a post... The point is that I have a file
where blocks of text appear sometimes once, sometimes twice or even
three times etc...
I would like to find out how to delete the blocks that a
Hi all,
Check out the gF command in Vim7. This normal-mode command
jumps to the filename under cursor and if a line number follows the
file name, positions the cursor on that line.
For example, consider the following lines:
/path/to/file:10
/path/to/file @ 20
/path/to/file (30
On 5/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
Pattern
/\i\+\(ion\)\@/
matches words that do not end with 'ion'
Two more ways to match words not ending with 'ion':
2) This pattern also matches words not not ending with 'ion':
\<\(\w*ion\>\)[EMAIL PROTECTED]
3) The 'old' way. That'
28 matches
Mail list logo