I noticed that :redraw works differently from Ctrl-L in certain situations:
1) vim -u NONE
:set laststatus=2 statusline ruler
:help help get some text
2) Let's cause some screen mispaininting, so we can test :redraw:
:silent! !echo aaa cause mispainted screen (this
Hi,
In the vim documentation, there is a note about a possibility to
display an icon thanks to the kind information of a popup item (:h
complete-items) :
The kind item uses a single letter to indicate the kind of completion. This
may be used to show the completion differently (different color
Yakov Lerner wrote:
I noticed that :redraw works differently from Ctrl-L in certain situations:
1) vim -u NONE
:set laststatus=2 statusline ruler
:help help get some text
2) Let's cause some screen mispaininting, so we can test :redraw:
:silent! !echo aaa cause
Patch 7.0.102
Problem:Redrawing cmdline is not correct when using SCIM.
Solution: Don't call im_get_status(). (Yukihiro Nakadaira)
Files: src/ex_getln.c
*** ../vim-7.0.101/src/ex_getln.c Sun Sep 10 21:05:39 2006
--- src/ex_getln.c Tue Sep 12 20:52:51 2006
***
Patch 7.0.104
Problem:The CursorHoldI event only triggers once in Insert mode. It also
triggers after CTRL-V and other two-key commands.
Solution: Set did_cursorhold before getting a second key. Reset
did_cursorhold after handling a command.
Files: src/edit.c,
Patch 7.0.105
Problem:When using incremental search the statusline ruler isn't updated.
(Christoph Koegl)
Solution: Update the statusline when it contains the ruler.
Files: src/ex_getln.c
*** ../vim-7.0.104/src/ex_getln.c Thu Sep 14 10:25:34 2006
--- src/ex_getln.c
Haakon Riiser wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help system. Typing :h,
or pressing ^] to jump to a tag, causes Vim to get caught in an
infinite loop.
Is there another way to get large file support that works?
There's no
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help system. Typing :h,
or pressing ^] to jump to a tag, causes Vim to get caught in an
infinite loop.
Is there another way to get large file
Yakov Lerner wrote:
I noticed that :redraw works differently from Ctrl-L in certain situations:
1) vim -u NONE
:set laststatus=2 statusline ruler
:help help get some text
2) Let's cause some screen mispaininting, so we can test :redraw:
:silent! !echo aaa
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help system. Typing :h,
or pressing ^] to jump to a tag, causes Vim to get caught in an
infinite loop.
Is there
Patch 7.0.106
Problem:The spell popup menu uses :amenu, triggering mappings. Other
PopupMenu autocommands are removed. (John Little)
Solution: Use :anoremenu and use an autocmd group.
Files: runtime/menu.vim
*** ../vim-7.0.105/runtime/menu.vim Tue Apr 18 00:06:31
On 9/14/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help system. Typing :h,
or pressing ^] to jump to a tag, causes
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help system. Typing :h,
or pressing ^] to jump to a tag, causes Vim to get caught in an
infinite loop.
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64,
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Yakov Lerner [EMAIL PROTECTED] wrote:
On 9/14/06, Bram Moolenaar [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
Christoph Koegl wrote:
I noticed the following in VIM 7:
- When I have multiple tabs and windows in each tab open, and I am
doing a :bufdo :e to reload all buffers, the list of files is
printed as they are being reloaded. After finishing, however, the
last file having been reloaded is
Haakon Riiser wrote:
[A.J.Mechelynck]
-D_FILE_OFFSET_BITS=64 is set on my gcc command-line without me having
done anything special to get it.
Strange; it doesn't do that on my system. Does it work if you
invoke ./configure without any extra arguments?
By the way, I noticed that your build
Bram Moolenaar wrote:
Yakov Lerner wrote:
On 9/14/06, Haakon Riiser [EMAIL PROTECTED] wrote:
After recompiling Vim with -D_FILE_OFFSET_BITS=64, everything
involving tags break, including the help system. Typing :h,
or pressing ^] to jump to a tag, causes Vim to get caught in an
infinite
Haakon Riiser wrote:
[A.J.Mechelynck]
Configure with no extra arguments will build a Normal version without
Gnome and with no interpreters. Now that million-line file I spoke about
is in UTF-8 and contains CJK characters mixed in with English text. A
Normal-version Vim couldn't edit it
Yakov Lerner wrote:
Surprisingly, changing ftell() to ftello() does not change anything.
On systems that support ftello() ftell() is defined to use ftello().
Casting ftell() to (off_t) doesn't change anything.
Funnily, casting ftell to (long) makes the problem go away
(as it ftell does
Hi!
I forgot to mention, that my last build was version 7.0.101.
It is probably patch 7.0.104 which introduced this problem.
Best wishes,
Georg Dahn
Georg Dahn wrote:
Hi!
I have updated the sources of Vim from CVS (7.0.106) and tried
to compile Vim. The GUI version can be built, but I get
On Thu 14-Sep-06 6:35am -0600, Bram Moolenaar wrote:
Patch 7.0.106
I encountered a problem that has appeared before patching
files in runtime. I received the following from my patch
invocation:
patching file `menu.vim'
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 885.
Hunk #3
Bill McCarthy wrote:
On Thu 14-Sep-06 6:35am -0600, Bram Moolenaar wrote:
Patch 7.0.106
I encountered a problem that has appeared before patching
files in runtime. I received the following from my patch
invocation:
patching file `menu.vim'
Hunk #1 FAILED at 2.
Hunk #2
On 14/09/06, Mikolaj Machowski [EMAIL PROTECTED] wrote:
Dnia sobota, 9 września 2006 20:03, Edd Barrett napisał:
- I removed p's because you cannot contain a span in a p according
to w3. An unstyled p would make no difference in this case anyway.
While I agree with most of your changes
Hello Yakov,
If I recall correctly, didn't you write the shell script which automatically
patches and installs Vim 7? If so, why not expand on it to allow (optionally)
installing unofficial patches from vim.org as well? Maybe a
'--with-patch=script_id' argument would work?
regards,
Peter
Ciao Peter,
The Vim Book (http://iccf-holland.org/click5.html#oualline) will get
you up to speed quickly on most of Vim's important features, and
teach you how to use some important tools you might miss otherwise.
Most complex commands can still be reduced down to one or two
keystrokes, just
Pete Johns schrieb:
For all lines longer than 72 characters, reformat the
paragraph from that line..
1,$g/.\{73,}/normal v}gq
or just
:set tw=72 if set otherwise
:g/./normal gqq
Andy
Hi,
I have a series of questions:
1. I want to edit multiple files from command line so I created a vim
script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this script on multiple files. In vim's help there is
this
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Hi,
I have a series of questions:
1. I want to edit multiple files from command line so I created a vim
script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
:/^html\_.{-}body: /-3d
and how can I repeat this globally?
:g/^html\_.{-}body: /.-3d
Yakov
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
3. This is not Vim related but I wonder if anyone knows sth. I have the
following structure of folders and files:
..
folder1
file1
file2
folder2
file1
file2
.
and want to add the folder name into
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
:/^html\_.{-}body: /-3d
and how can I repeat this globally?
:g/^html\_.{-}body: /.-3d
Yakov
I get an E16: invalid range error
--
Nikolaos A.
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
:/^html\_.{-}body: /-3d
and how can I repeat this globally?
:g/^html\_.{-}body: /.-3d
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth like this:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
3. This is not Vim related but I wonder if anyone knows sth. I have
the following structure of folders and files:
..
folder1
file1
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
2.Can I delete after a pattern search? Sth
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
3. This is not Vim related but I wonder if anyone knows sth. I have
the following structure of folders and files:
..
folder1
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote Yakov
Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
On 9/14/06, Nikolaos A. Patsopoulos [EMAIL
On Thu, 2006-09-14 at 13:01 +0300, Nikolaos A. Patsopoulos wrote:
1. I want to edit multiple files from command line so I created a
vim script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this script on
Steve Hall wrote:
On Thu, 2006-09-14 at 13:01 +0300, Nikolaos A. Patsopoulos wrote:
1. I want to edit multiple files from command line so I created a
vim script with all the commands (20). I use a batch file in WinXP:
|@echo off
vim -s script file.txt
exit
however I need to run this
To do an operation on multiple files in a WinXP DOS batch:
for %%A in (*.txt) do [command]
Just a small caveat to the reader, this works within a batch file
by escaping the variable (%A in this case). If you're running
it from the command-line, you don't escape it, and thus use
If u have Cygwin then creating a batch file with the following would be the
simplest solution -
set TARGETDIR=C:\something
set SCRIPTDIR=C:\something_else
find %TARGETDIR% -name *.[ch] -exec gvim -s %SCRIPTDIR%\win32_vimscript.vim
{} ;
Basically use find to help u (actually it's just one
Sibin P. Thomas wrote:
If u have Cygwin then creating a batch file with the following would be the
simplest solution -
set TARGETDIR=C:\something
set SCRIPTDIR=C:\something_else
find %TARGETDIR% -name *.[ch] -exec gvim -s %SCRIPTDIR%\win32_vimscript.vim
{} ;
Basically use find to help u
Hi,
another two questions:
1. I want to delete all text that has a specific pattern. I use the
following code with s command but I want to keep the \a character in the
beginning:
:%s/\a,\_.\{-}\/td\/tr/
2.
how can I join lines that have non-numerical characters?
e.g.
153
Purdue
Canc Ct
1256
Nikolaos A. Patsopoulos wrote:
Hi,
another two questions:
1. I want to delete all text that has a specific pattern. I use the
following code with s command but I want to keep the \a character in the
beginning:
:%s/\a,\_.\{-}\/td\/tr/
To delete everything that matches a certain pattern
On Tue, Sep 12, 2006 at 07:30:55PM -0500, Bill McCarthy wrote:
Thanks, Tony. I was just getting ready to respond to myself
with another solution I found with a hint from the help
file:
let b:match_words =
\'\%(\S\+\)\@!text\s*$:\%(\S\+\)\@!endtext\s*$'
Hint from :help
A.J.Mechelynck wrote:
Nikolaos A. Patsopoulos wrote:
Hi,
another two questions:
1. I want to delete all text that has a specific pattern. I use the
following code with s command but I want to keep the \a character in
the beginning:
:%s/\a,\_.\{-}\/td\/tr/
To delete everything that matches
Hi,
how can anyone add the filename in the file in ex-mode?
C-R% and %p works only in normal mode
Thanks,
Nikos
Hi,
Nikolaos A. Patsopoulos wrote:
how can anyone add the filename in the file in ex-mode?
C-R% and %p works only in normal mode
:put %
Regards,
Jürgen
--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact
Jürgen Krämer wrote:
Hi,
Nikolaos A. Patsopoulos wrote:
how can anyone add the filename in the file in ex-mode?
C-R% and %p works only in normal mode
:put %
Regards,
Jürgen
That seems to insert the filename in random place. What if I want to
place it e.g. in the beginning
If you don't want to put the filename on a new line as :put % does, maybe try
:normal %p
-dan
how can anyone add the filename in the file in ex-mode?
C-R% and %p works only in normal mode
:put %
Or, if you need to insert it at a particular place,
:10s/$/\=' '.expand('%')
will put it at the end of line #10. The basic idiom involves
replacing something (EOL, BOL, or some
To place at the beginning of each line try
:%normal %P
-dan
:put %
That seems to insert the filename in random place. What if I
want to place it e.g. in the beginning of each line?
It inserts it on the line below where the cursor currently is.
You can specify a target (as in
:30put %
which will put it below line #30)
If you want it at the
Tim Chase wrote:
:put %
That seems to insert the filename in random place. What if I
want to place it e.g. in the beginning of each line?
It inserts it on the line below where the cursor currently is. You can
specify a target (as in
:30put %
which will put it below line #30)
If you
--- Andrea Spadaccini [EMAIL PROTECTED] wrote:
Well.. the vim book is for vim 5.7.. Are there any plans to make a new
version for vim 7.x?
I would buy it if only it was up-to-date! :)
Many of Vim's best features were included in 5.7. It is still a great book to
get you from a novice to
Ah, I can understand that. I have (so far) in my professional career never had
the joy of maintaining someone else's code, or when I have it is written with
nice guidelines that avoid lng lines ;)
Hope you get on well with it!
Max
-Original Message-
From: Meino
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Thu, 14 Sep 2006 13:46:42 +1000
On Thu, 2006-09-14 at 04:45:12 +0200, Meino Christian Cramer sent:
2.) Currently I am reading the ascii version of the vimtips
file. One thing I would like to change physically (that means:
On Fri, 2006-09-15 at 04:57:24 +0200, Meino Christian Cramer sent:
Hi Pete!
Hi!
thank you very much for this line of code -- works like a
charme!
Delighted to hear it.
The only bad thing is: I dont understand completly, how it
works
He he... I'm glad that someone's taken this apart :-)
62 matches
Mail list logo