Hi All,
I found the following bug:
$ mkdir /tmp/foo
$ touch /tmp/foo/bar
$ cd /tmp/
$ ln -s foo/bar .
$ vim bar
Now type some text into bar, and then kill vim (say with kill -9) from a
different terminal.
Now when you type vim /tmp/bar it reports that a .swp file is found
On Tue, May 16, 2006 at 11:19:57PM -0500, Gautam Iyer wrote:
Now when you type vim /tmp/bar it reports that a .swp file is found
and asks you about recovery. However when you press R for recovering
the file, vim complains saying it can not find the swap file (probably
because vim looks for the
Please take the time to edit out the parts we do not need to read.
I just tried
:tab split
and I am about to yank this line.
OK, I yanked it, did a gt back to the original tab, and now I will
paste it:
and I am about to yank this line.
No problem. If this supposed bug is
Arrgh! I can't send this message to the list, for some reason! Maybe
because it has strange characters in it?
OK: you can download my test.zip from here:
http://ronware.org/test.zip
In it you will find a file 'test.txt' which is UTF8 and will tell you how
to see the problem I am finding
On Wed, May 17, 2006 at 10:31:55AM -0400, James Vega wrote:
On Tue, May 16, 2006 at 11:19:57PM -0500, Gautam Iyer wrote:
Now when you type vim /tmp/bar it reports that a .swp file is found
and asks you about recovery. However when you press R for recovering
the file, vim complains saying
Gautam Iyer wrote:
On Wed, May 17, 2006 at 10:31:55AM -0400, James Vega wrote:
On Tue, May 16, 2006 at 11:19:57PM -0500, Gautam Iyer wrote:
Now when you type vim /tmp/bar it reports that a .swp file is found
and asks you about recovery. However when you press R for recovering
the
Use the o command to switch positions of the cursor, and then move
to the left.
On 5/16/06, Gerald Lai [EMAIL PROTECTED] wrote:
On Tue, 16 May 2006, Jared wrote:
[snip]
So, my question: is it somehow possible to be able to select the last
character of a line when selecting from
au! CursorHoldI *.cpp nested call PreviewWord()
func! PreviewWord()
if pumvisible()
call confirm('pumvisible')
return
endif
call confirm(''+pumvisible())
endf
I found, while I use c-xc-u for a cpp code completion,
The code shown
Hi!
So, my question: is it somehow possible to be able to select the
last
character of a line when selecting from right-to-left while using
selection=exclusive?
This can be done by doing
:set virtualedit=onemore
which allows the cursor to move just past the end of the line. This
makes
Hi Ivan,
The FAQ contains some obscure information that goes beyond your average
Vim cheat sheet.
For the aforementioned average Vim cheat sheet...
http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
--Eljay
Hello,
I have a general question, we now use the EDT editor (OPENVMS) for editing
PASCAL. Is it possible to use VIM or PASCAL.
Regards,
Richard Jansen of Lorkeers
redrawing doesn't help. In this case with getchar(), echon'ed
trailing spaces are only shown after a non-space character is echon'ed
afterwards.
It's not a big deal, but I'm going to cc: [EMAIL PROTECTED] since I can't find
any way to create a getchar() + prompt with trailing spaces.
I'm
On Wed, May 17, 2006 at 01:23:37PM +0200, Jansen of Lorkeers, Richard wrote:
I have a general question, we now use the EDT editor (OPENVMS) for editing
PASCAL. Is it possible to use VIM or PASCAL.
Depends on what you mean under use. Vim can edit any plain text files.
Pascal program source is a
Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisał:
- get vim to automatically close/complete the innermost previously
opened tag.
What do you mean automatically?. You can do:
inoremap / /c-xc-o
Other things I don't know how to find is: how do I make sure that VIM
finds the CSS
Dnia wtorek, 16 maja 2006 18:37, A.J.Mechelynck napisał:
Ivan Vecerina wrote:
[...]
For example, here are a few simple things I need to do all the time:
[...]
- get vim to automatically close/complete the innermost previously
opened tag.
[...]
see the closeag.vim plugin,
Dnia środa, 17 maja 2006 03:49, Hari Krishna Dara napisał:
Very often, I record changes that involves i_^P, and see an issue
replaying them in Vim7. Say, you have text such as:
Noticed similar behaviour in command line completion. Up to Vim7 when
you were recording into register went real
Dnia wtorek, 16 maja 2006 23:35, Luc Hermitte napisał:
The problem has existed for a long time. The iconv() workaround works
correctly with vim 7.0.012 on linux, but not with vim 7.0.000 (default
win32 build) on windows.
Do you have +iconv or +iconv/dyn in :version? For better work with
Hi all,
I have a file which behaves differently whether edited with win32
Notepad and gVim.
When opened in notepad I got several lines, which is the most
convenient layout for me, but when opened in gVim I got the file in
only one line.
I tried to set ff to dos but it does not have any effect.
On Wed, May 17, 2006 at 03:19:39PM +0200, Baha-Eddine MOKADEM wrote:
I have a file which behaves differently whether edited with win32
Notepad and gVim.
When opened in notepad I got several lines, which is the most
convenient layout for me, but when opened in gVim I got the file in
only one
On 5/17/06, Baha-Eddine MOKADEM [EMAIL PROTECTED] wrote:
Hi all,
I have a file which behaves differently whether edited with win32
Notepad and gVim.
When opened in notepad I got several lines, which is the most
convenient layout for me, but when opened in gVim I got the file in
only one line.
On Tue, 16 May 2006 22:28:54 -0700 (PDT),
Gerald Lai [EMAIL PROTECTED] wrote:
On Wed, 17 May 2006, Dennis Nezic wrote:
when i exit my wm (e16), since it doesn't (and shouldn't) close any
other programs, gvim is stuck without an x server, and doesn't
handle this loss gracefully.
On 5/16/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
On Tue, 16 May 2006 at 2:43pm, Bob Hiestand wrote:
Hi all,
I'm re-writing my cvscommand.vim plugin to handle both CVS and
Subversion version control systems. I'm currently implementing some
of the functionality through function
Yakov Lerner [EMAIL PROTECTED] wrote:
On 5/17/06, Luc Hermitte [EMAIL PROTECTED] wrote:
I have a problem with an old hack that works fine in latin1, but starts
to cause problems in UTF-8.
[...]
What is quite odd is that I have a workaround on Linux (by calling
iconv()) which has no,
Mikolaj Machowski [EMAIL PROTECTED] wrote:
Dnia wtorek, 16 maja 2006 23:35, Luc Hermitte napisa³:
The problem has existed for a long time. The iconv() workaround works
correctly with vim 7.0.012 on linux, but not with vim 7.0.000 (default
win32 build) on windows.
Do you have +iconv or
Hi!
My guess is: notepad breaks at column 1024. In notepad the first two
lines of your file have exact 1024 characters. This could be a
notepad limitation.
Best wishes,
Georg
Baha-Eddine MOKADEM wrote:
Hi all,
I have a file which behaves differently whether edited with win32
Notepad and
2006/5/17, Georg Dahn [EMAIL PROTECTED]:
Hi!
My guess is: notepad breaks at column 1024. In notepad the first two
lines of your file have exact 1024 characters. This could be a
notepad limitation.
Best wishes,
Georg
Is there a way to make profit of this kind of limitation. Or is there
a way
On Wed, 17 May 2006, Baha-Eddine MOKADEM wrote:
2006/5/17, Georg Dahn [EMAIL PROTECTED]:
Hi!
My guess is: notepad breaks at column 1024. In notepad the first two
lines of your file have exact 1024 characters. This could be a
notepad limitation.
Best wishes,
Georg
Is there a way to make
On Wed, 17 May 2006, Baha-Eddine MOKADEM wrote:
2006/5/17, Georg Dahn [EMAIL PROTECTED]:
My guess is: notepad breaks at column 1024. In notepad the first two
lines of your file have exact 1024 characters. This could be a
notepad limitation.
Is there a way to make profit of this kind of
Dennis Nezic wrote:
On Tue, 16 May 2006 22:28:54 -0700 (PDT),
Gerald Lai [EMAIL PROTECTED] wrote:
On Wed, 17 May 2006, Dennis Nezic wrote:
when i exit my wm (e16), since it doesn't (and shouldn't) close any
other programs, gvim is stuck without an x server, and doesn't
handle this loss
Is there a way to construct the code below to avoid the E193
:endfunction not inside a function error in Vim 6.4 when loading a
Vim 7.0 script?
This for-endfor construct produces the error:
function! MyFunct()
if v:version 700
return
endif
...
for i in
I'm having an issue saving a file open for edit using
the ftp://host mechanism. The steps are:
open gvim.exe from the Windows command line
open a file with :e ftp://hostname/path/file;
proviide the username/password successfully
after loading the file and saving write with :w
After that I get an
Noah Sturr wrote:
I'm having an issue saving a file open for edit using
the ftp://host mechanism. The steps are:
open gvim.exe from the Windows command line
Hello!
Please try my latest netrw; several changes have been made lately to
help support Windows + cmd.exe users. Its available
Gerald Lai [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
: On Tue, 16 May 2006, Ivan Vecerina wrote:
: You could read Bram Moolenaar's
: Seven Habits of Effective Text Editing at:
: http://www.moolenaar.net/habits.html
A very good read indeed.
: I think using matchit is one of
Steve Hall wrote:
Is there a way to construct the code below to avoid the E193
:endfunction not inside a function error in Vim 6.4 when loading a
Vim 7.0 script?
This for-endfor construct produces the error:
function! MyFunct()
if v:version 700
return
endif
...
Noah Sturr wrote:
I'm having an issue saving a file open for edit using
the ftp://host mechanism. The steps are:
open gvim.exe from the Windows command line
open a file with :e ftp://hostname/path/file;
proviide the username/password successfully
after loading the file and saving write with :w
From: Yegappan Lakshmanan, May 17, 2006 5:01 PM
On 5/17/06, Steve Hall [EMAIL PROTECTED] wrote:
Is there a way to construct the code below to avoid the E193
:endfunction not inside a function error in Vim 6.4 when loading
a Vim 7.0 script?
[snip]
What about doing the following?
if
cga2000 wrote:
Does vim provide any form of native support for drawing tables?
I have tried a couple of plugins and they don't seem to play well with
my setup, presumably because I have temporarily switched my locale back
from UTF-8 to en_US (due to problems with other applications that do are
Steve Hall wrote:
Is there a way to construct the code below to avoid the E193
:endfunction not inside a function error in Vim 6.4 when loading a
Vim 7.0 script?
This for-endfor construct produces the error:
function! MyFunct()
if v:version 700
return
endif
On Wed, 17 May 2006 at 10:58pm, A.J.Mechelynck wrote:
Steve Hall wrote:
Is there a way to construct the code below to avoid the E193
:endfunction not inside a function error in Vim 6.4 when loading a
Vim 7.0 script?
This for-endfor construct produces the error:
function!
On Wed, 17 May 2006 10:21:41 -0500,
Aaron Griffin [EMAIL PROTECTED] wrote:
On 5/17/06, Dennis Nezic [EMAIL PROTECTED] wrote:
On Tue, 16 May 2006 22:28:54 -0700 (PDT),
Gerald Lai [EMAIL PROTECTED] wrote:
You could try something like
:au VimLeave * if v:dying | quitall! |
Dnia środa, 17 maja 2006 18:34, [EMAIL PROTECTED] napisał:
Mikolaj Machowski [EMAIL PROTECTED] wrote:
Dnia wtorek, 16 maja 2006 23:35, Luc Hermitte napisa?:
The problem has existed for a long time. The iconv() workaround
works correctly with vim 7.0.012 on linux, but not with vim 7.0.000
On Mon, May 15, 2006 at 10:08:03PM EDT, Suresh Govindachar wrote:
Are you thinking of Gautam's xterm16
http://www.vim.org/scripts/script.php?script_id=795 ?
No, I actually use the all-blue incarnation of his xterm16 colorscheme
myself.. I have read the doc a couple of times, and I'm
-Original Message-
From: Mikolaj Machowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 6:57 AM
To: vim@vim.org
Subject: Re: HTML editing with vim: where to start ?
Dnia wtorek, 16 maja 2006 18:37, A.J.Mechelynck napisał:
Ivan Vecerina wrote:
[...]
For
On Wed, May 17, 2006 at 05:13:46PM EDT, A.J.Mechelynck wrote:
cga2000 wrote:
Does vim provide any form of native support for drawing tables?
I have tried a couple of plugins and they don't seem to play well with
my setup, presumably because I have temporarily switched my locale back
from
-Original Message-
From: ice_2001cn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 4:48 AM
To: vim@vim.org
Subject: About CursorHoldI , pumvisible()
au! CursorHoldI *.cpp nested call PreviewWord() func! PreviewWord()
if pumvisible()
call
Hi,
VIM has a neat feature to highlight the line the cursor is in. This
makes reading wide texts easier.
Unfortunatley (at least with my system) moving the cursor become
very slow.
Is there a way out (a config trich for example) or any other thing to
get a fast cursor in a highlighted
cga2000 wrote:
But I was not thinking of these tab stops..
more in the line of typewriter stuff, I guess.
Creating an imap involving the following
operations might do the job:
---set up the typewriter style tab-stops---
let twtabs=[3, 5, 10, 28, 40, 58]
---then imap
While the visual mode selection is active, hitting o moves to the
opposite corner. If it isn't doing that for you, I'd check for
vmap
interference.
3. Changing the Visual area *visual-change*
*v_o*
o
Jared wrote:
On 5/17/2006 12:52 AM, Gerald Lai wrote:
So, my question: is it somehow possible to be able to select the last
character of a line when selecting from right-to-left while using
selection=exclusive?
The simplest work around is to hit ol (that's oh-el) to select that
last
On 5/17/2006 11:11 PM, Eric Arnold wrote:
While the visual mode selection is active, hitting o moves to the
opposite corner.
SNIP
Keep in mind that it doesn't work the same with a selection made by
the mouse, since that leaves it in select mode not visual mode,
which has some properties
This should be really easy, but I can't find an example in the help that
shows what I'm trying to do. I'm mapping an external command to a function
key, but I can't figure out how to include a variable in the command.
Specifically, I want to specify the %programfiles% directory. So far I've
Ok, this will be my last question for the night (promise!). I'd like to map
separate commands to Ctrl-C and Ctrl-Shift-C. I've tried a couple different
ways to do it, but this one seems like it should be most correct:
vnoremap C-c +y
vnoremap C-S-c ^Gol+y
What's happening, though, is that the
I find that the only method to input chinese in vim on a windows box is using
gvim. And after pressing the ESCAPE switch to command mode, I must switch the
input method into English. It is not so convenient. Is there any method to
solve these problems?
On 5/18/2006 12:08 AM, Yakov Lerner wrote:
Try
map F2 :exe :silent! start .isshelp cr
Thanks for the reply, Yakov. However, that gives me an error message:
E121: Undefined variable: isshelp
E15: Invalid expression:silent! start .isshelp
Any other ideas?
--
Jared
Jared wrote:
This should be really easy, but I can't find an example in the help that
shows what I'm trying to do. I'm mapping an external command to a function
key, but I can't figure out how to include a variable in the command.
Specifically, I want to specify the %programfiles% directory.
On 5/18/2006 12:31 AM, A.J.Mechelynck wrote:
:exe 'silent ! start ' . $PROGRAMFILES . '\Inno Setup\Isetup.hlp'
That did it!
Thanks a bunch, Tony.
--
Jared
Jared wrote:
Ok, this will be my last question for the night (promise!). I'd like to map
separate commands to Ctrl-C and Ctrl-Shift-C. I've tried a couple different
ways to do it, but this one seems like it should be most correct:
vnoremap C-c +y
vnoremap C-S-c ^Gol+y
What's happening,
I have a general question concerning installation of VIM on a OpenVMS
systems. Who has experience with the installation of the software?
Richard
Hi,
This probably isn't a gvim issue, but I thought I'd ask the community for
input since other avenues have not yet yielded positive results.
Here's the issue: I am using Hummingbird Exceed 2006 to log into my Sun
Sparc Solaris 8 system. From there, I am opening a gvim window which
was
On 5/17/06, Jared [EMAIL PROTECTED] wrote:
Ok, this will be my last question for the night (promise!). I'd like to map
separate commands to Ctrl-C and Ctrl-Shift-C. I've tried a couple different
ways to do it, but this one seems like it should be most correct:
vnoremap C-c +y
vnoremap C-S-c
This might have failed because of context. If you used g:isshelp,
then it would probably be recognized, though I don't know the rest of
the situation.
On 5/17/06, Jared [EMAIL PROTECTED] wrote:
On 5/18/2006 12:08 AM, Yakov Lerner wrote:
Try
map F2 :exe :silent! start .isshelp cr
Thanks for
61 matches
Mail list logo