On 12/02/2007 07:48, George V. Reilly wrote:
* Win64 changes to make code compile cleanly: eval.c, misc2.c, if_ole.*
* Fixed install.exe bug
* Fixed annoying warning from Explorer about gvimext.dll
* Fixed gvim.exe.mnf to be cross-platform. No longer needs to be generated
from Make_mvc.mak
*
This quickly moved to version 1.2 and this is the recommended version:
http://www.vim.org/scripts/script.php?script_id=346
Miles Lott wrote:
I have uploaded version 0.8 of my indent file for php. This was the
file included in 6.X which was replaced by John's script in 7.X.
After 5 years it
As announced, Bram gave an interesting talk about vim on the Google
campus last week, for those who couldn't be there, there is a well made
video of it there:
http://video.google.com/videoplay?docid=2538831956647446078
Maybe it should also be linked from the news entry on vim.org?
Off-topic,
Patch 7.0.198 (extra)
Problem:Win32: Compiler warnings. No need to generate gvim.exe.mnf.
Solution: Add type casts. Use * for processorArchitecture. (George
Reilly)
Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
This patch collides with some patches I
Index: runtime/tutor/tutor
===
--- runtime/tutor/tutor (revision 218)
+++ runtime/tutor/tutor (working copy)
@@ -568,10 +568,10 @@
4. To change every occurrence of a character string between two
lines,
type
Hmm.. apologies if my mail client messed that up. Find the patch
attached.
cheers
tutor.patch
Description: tutor.patch
Dear Vim users,
A week ago I did a presentation on Vim, called Seven habits of
effective text editing 2.0. I was happy to see a lot of people
come to listen to me. Many more than expected, we ran out of food and
had to get extra chairs. Thanks to all who were there, it was nice to
have a big
Martin Stubenschrott wrote:
As announced, Bram gave an interesting talk about vim on the Google
campus last week, for those who couldn't be there, there is a well made
video of it there:
http://video.google.com/videoplay?docid=2538831956647446078
Maybe it should also be linked from the
Michael Wookey wrote:
Hmm.. apologies if my mail client messed that up. Find the patch
attached.
Thanks. These typos must have been there for ages.
--
Microsoft says that MS-Windows is much better for you than Linux.
That's like the Pope saying that catholicism is much better for
you than
I wrote:
It's a lot quicker to get the PDF with the presentation and notes:
http://www.moolenaar.net/habits.pdf
This is about 640 Kbyte.
But that's the old one! Use this link instead:
http://www.moolenaar.net/habits_2007.pdf
Oh, and in case you are interested in the books mentioned, use
On 2/20/07, David Woodfall [EMAIL PROTECTED] wrote:
Is there any way of getting vim to remember more previously opened file
cursor positions?
Searching for history only yields command history.
--
It's easier to get forgiveness for being wrong than forgiveness for
being right.
Try
set
On Tue 20-Feb-07 1:23am -0600, David Woodfall wrote:
Is there any way of getting vim to remember more previously opened file
cursor positions?
Searching for history only yields command history.
:helpgrep history\c yielded 214 hits from the $VIMRUNTIME
docs. For specific help:
:h
I'm using ctags and I want to do case less matching for tags. I tried
setting the 'ignorecase' and 'infercase', but that doesn't give me the
actual tag I need to insert. The word, it completes is correct, but they are
wholly either in upper case or lower case. Any way to go?
Thanks
Jeenu
I forgot to mention that you have to build your tags database with
this command :
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .
You'll see more details on these parameters in the help file.
Moreover, there is a recent bug where you have to disable the
ignorecase function to complete
Hi!
Someone noticed that if I add this line into .vimrc:
autocmd BufEnter * :cd %:p:h
I'll be able to run :make and vim will automatically look at the directory
where currently opened file is located for Makefile.
But if I have directory structure like this:
[d]ProjectDir
main.cpp
Makefile
Vissale,
On Tue 20-Feb-07 2:25am -0600, you wrote:
I forgot to mention that you have to build your tags database with
this command :
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .
You'll see more details on these parameters in the help file.
Moreover, there is a recent bug where you
Hi
I'm using gobby a lot, and it is great! (http://gobby.0x539.de/trac/).
There is an issue about gobby thought. I miss the power of vim.
Gobby has a protocoll namned obby, this is already impleted in emacs.
Would this be easy to do in vim? What would be the best approach and is
somone already
On 2/20/07, Ilia N Ternovich [EMAIL PROTECTED] wrote:
Someone noticed that if I add this line into .vimrc:
autocmd BufEnter * :cd %:p:h
I'll be able to run :make and vim will automatically look at the directory
where currently opened file is located for Makefile.
But if I have directory
Hi Ilia,
to me it looks like you always want to compile using the Makefile in
ProjectDir. I don't know if this helps much, but I would recommend to
open the Makefile in one buffer, then hide it:
:hid
and do your source editing. When you want to compile your files, use
:sb Maktab
to
Hello,
Ilia N Ternovich [EMAIL PROTECTED] wrote:
Someone noticed that if I add this line into .vimrc:
autocmd BufEnter * :cd %:p:h
I'll be able to run :make and vim will automatically look at the directory
where currently opened file is located for Makefile.
You can use plugins like
Hello,
Andrea Ratto [EMAIL PROTECTED] wrote:
I need some plugin to be able to compile using ant and parse it's output
from vim.
I've seen there are some, but I want something small and simple i have
not found yet.
Any recomendation will be appreciated. Thanks.
There is a compiler-plugin
On 2/20/07, Ilia N Ternovich [EMAIL PROTECTED] wrote:
Hi!
Someone noticed that if I add this line into .vimrc:
autocmd BufEnter * :cd %:p:h
I'll be able to run :make and vim will automatically look at the directory
where currently opened file is located for Makefile.
But if I have directory
* A.J.Mechelynck [EMAIL PROTECTED]:
~/.vim/autoload/*.vim
load-on-demand scripts for functions of the form
scriptname#Funcname()
~/.vim/colors/*.vim
colorschemes
[...]
Great list! Thank you very much!
Kai
--
* http://www.glorybox.de/
PGP 1024D/594D4132 B693 5073 013F
Hi folks!
AFAIK usage of arrow keys in vim should be avoided at all costs since
h/j/k/l allows one to be more efficient in command mode. But how about
insert mode? Should one avoid using arrow keys in insert mode as well
and switch to command mode and then back to insert mode instead?
--
Best
I agree that using h/j/k/l is most efficient and its hard to follow
them in insert mode. But, if you are aware of the command CTRL-O in
insert mode that will get you to a temporary-normal mode, you can
execute one normal mode command, after which you will be taken back to
insert mode. Once you
On 2/20/07, Pavel Shevaev [EMAIL PROTECTED] wrote:
Hi folks!
AFAIK usage of arrow keys in vim should be avoided at all costs
at all costs sounds too fanatic to me. When keyboard has
arrows, I really prefer arrows now, even though I've been using vi
since 1989. Can you clarify which costs you
On (03:09 20/02/07), Yakov Lerner [EMAIL PROTECTED] put forth the proposition:
On 2/20/07, David Woodfall [EMAIL PROTECTED] wrote:
Is there any way of getting vim to remember more previously opened file
cursor positions?
Searching for history only yields command history.
--
It's easier
I'm trying to find a good way to remap control+U in insert-mode
so that it begins an undo-block. There are times when type
control+U in insert-mode and it doesn't do what I intend, or I
want to undo it, only to find that an undo doesn't solve the
problem. I know that transitioning out of
Can you clarify which costs you are willing to
pay/sacrifice to avoid use of arrows ?
Actually I'm just trying to follow the best vim practices and it's
really hard for me to get used to h/j/k/l combination after working
with some other text editors. That's why I'm asking how vim gurus work
the
On 2/20/07, Tim Chase [EMAIL PROTECTED] wrote:
I'm trying to find a good way to remap control+U in insert-mode
so that it begins an undo-block. There are times when type
control+U in insert-mode and it doesn't do what I intend, or I
want to undo it, only to find that an undo doesn't solve the
On 2/20/07, Pavel Shevaev [EMAIL PROTECTED] wrote:
Can you clarify which costs you are willing to
pay/sacrifice to avoid use of arrows ?
Actually I'm just trying to follow the best vim practices and it's
really hard for me to get used to h/j/k/l combination after working
with some other text
Hi,
Insert mode is to insert something in your text. If you want to move
again, just hit ESC and you'll be back in motion mode.
The idea behind using h/j/k/l is to avoid moving your hand/wrist too
often while going back and forth between your keyboard and the arrow set
(although the use of
On Mon, 19 Feb 2007, C.G.Senthilkumar. apparently wrote:
Is there a script or some mechanism to do this
effeciently? For example, when I search a term, vim should
take the cursor to the term and prompt a confirmation(y/n)
to index that term. Upon (y) it should include
David Woodfall wrote:
Is there any way of getting vim to remember more previously opened file
cursor positions?
Searching for history only yields command history.
From :help jumplist: there is a separate list per window; the number of
entries is fixed at 100.
Best regards,
Tony.
--
Matthew Winn wrote:
On Mon, 19 Feb 2007 23:28:08 -0800, ayoub890 [EMAIL PROTECTED]
wrote:
I am running a perl script in a command inside make. I am trying to pass
an environment variable to perl, modify it inside perl and see it
changed inside make after returning from the perl script.
What
Bin Chen wrote:
Hi,
Can VIM configured to reload the opened file in a constant interval?
Thanks.
ABAI
That requires a lot of fancy footwork, because the CursorHold and
CursorHoldI events (q.v.) are fired if you don't hit a key for 'updatetime'
milliseconds, but not again.
Best
Jeenu V wrote:
I'm using ctags and I want to do case less matching for tags. I tried
setting the 'ignorecase' and 'infercase', but that doesn't give me the
actual tag I need to insert. The word, it completes is correct, but they
are
wholly either in upper case or lower case. Any way to go?
There are also some files that are put within the main ~/.vim
directory rather than subdirectories.
What files would you put in there?
Within ~/.vim there
filetype.vim
scripts.vim
You can do the same searches I did by ransacking the help with
:helpgrep \~/\.vim/
:copen
Pavel Shevaev wrote:
Hi folks!
AFAIK usage of arrow keys in vim should be avoided at all costs since
h/j/k/l allows one to be more efficient in command mode. But how about
insert mode? Should one avoid using arrow keys in insert mode as well
and switch to command mode and then back to insert
I'm trying to find a good way to remap control+U in insert-mode
so that it begins an undo-block. There are times when type
control+U in insert-mode and it doesn't do what I intend, or I
want to undo it, only to find that an undo doesn't solve the
problem. I know that transitioning out of
Kai Weber wrote:
where can I find an overview of the $HOME/.vim directory hierarchie? I
have not found an overview, seems I have to read all the vim
documentation for :help ftplugin, :help initialization and so on.
snip
Hello!
I have the following help file which I use; see attached.
Place
Bin Chen wrote:
Can VIM configured to reload the opened file in a constant interval?
Not easily; there's no such configuration options.
However, I suspect that there may be two if not more ways to do this:
* use an outside process on a multitasking o/s to ping vim using
remote_send()
I am using vim over ssh. The remote OS is FreeBSD 6.2 and the local OS
is Kubuntu. Both remote and local shells are bash. So far I can write
French characters in the shell remotely (mkdir, touch) and when using
vim I can write some characters but when I open the file again with vim
some
Peter wrote:
I am using vim over ssh. The remote OS is FreeBSD 6.2 and the local OS
is Kubuntu. Both remote and local shells are bash. So far I can write
French characters in the shell remotely (mkdir, touch) and when using
vim I can write some characters but when I open the file again with
* Tim Chase on Tuesday, February 20, 2007 at 09:13:17 -0600:
I'm still not 100% sure why I got this craziness:
inoremap c-u c-onopc-u
This gives me a crazy
E486: Pattern not found: insert
which, I haven't searched for the word insert so this one makes
me scratch my head. Bug
On Tue, 20 Feb 2007 at 9:13am, Tim Chase wrote:
I'm trying to find a good way to remap control+U in insert-mode
so that it begins an undo-block. There are times when type
control+U in insert-mode and it doesn't do what I intend, or I
want to undo it, only to find that an undo doesn't
Le Mardi 20 Février 2007 11:08, A.J.Mechelynck a écrit :
Peter wrote:
I am using vim over ssh. The remote OS is FreeBSD 6.2 and the
local OS is Kubuntu. Both remote and local shells are bash. So
far I can write French characters in the shell remotely (mkdir,
touch) and when using vim I
If you ask me, I advise you to feel free to use arrows in any mode.
Arrows not working in insert mode was the worst annoyance
of the original vi, as far as I remember.
*Really*? I feel just the opposite, that allowing arrowing when still
in insert was more annoying than not, because you *could*
I d/l'd and cofigured vim7.x (latest) as follows...
./configure --prefix=/vimpath --enable-gui
Should this enable gvim?
I did a make install, and
cd /vimpath/bin
ln -s vim gvim
When I start gvim, I get
E25: GUI cannot be used: Not enabled at compile time
What do I need to do to use gvim?
[EMAIL PROTECTED] wrote:
I d/l'd and cofigured vim7.x (latest) as follows...
./configure --prefix=/vimpath --enable-gui
Should this enable gvim?
I did a make install, and
cd /vimpath/bin
ln -s vim gvim
When I start gvim, I get
E25: GUI cannot be used: Not enabled at compile time
What
I did a several gui options
./configure --prefix=/vimpath --enable-gui=auto
./configure --prefix=/vimpath --enable-gui=motif
--with-motif-lib=/usr/lib/Motif1.2_R6
./configure --prefix=/vimpath --enable-gui=X11 --with-x
Here's part of the auto/config.log file
hostname = deleted
uname -m =
I have an older version compiled with GUI, so I know it CAN be
compiled with gui, but I forgot how... :(
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled May 6 2004 11:04:59)
Compiled by deleted
Normal version with X11-Motif GUI. Features included (+) or not (-):
-chris
-Original Message-
Here's how the older version was compiled and linked...
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF
-I/usr/dt/incl
ude -I/usr/local/include -g -O2
Linking: gcc -L/usr/dt/lib -L/usr/local/lib -o vim -lXext -lXm -lXt
-lX11 -lte
rmlib
-Original Message-
From: Fouts
Hi,
sorry of being (may be) off topic.
The only reason why Emacs is still installed is, that I am reading
and editing mails with the Mail in an Emacs World (mew) program,
which is really nice.
Now I am looking for one as a replacement. One must-have of the new
one is to store the mails in
[EMAIL PROTECTED] wrote:
I d/l'd and cofigured vim7.x (latest) as follows...
./configure --prefix=/vimpath --enable-gui
Should this enable gvim?
I did a make install, and
cd /vimpath/bin
ln -s vim gvim
When I start gvim, I get
E25: GUI cannot be used: Not enabled at
Hi Laurent :)
* vim [EMAIL PROTECTED] dixit:
The idea behind using h/j/k/l is to avoid moving your hand/wrist too
often while going back and forth between your keyboard and the arrow set
(although the use of h/j/k/l might have originated for other reasons
back in the old 'vi' days).
DervishD wrote:
Hi Laurent :)
* vim [EMAIL PROTECTED] dixit:
The idea behind using h/j/k/l is to avoid moving your hand/wrist too
often while going back and forth between your keyboard and the arrow set
(although the use of h/j/k/l might have originated for other reasons
back in the old
It's in HPUX, and 10.20 at that. but I'll try your
--with-features option.
-Original Message-
From: Charles E Campbell Jr [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 1:52 PM
To: Fouts Christopher (QNA RTP PT PREV)
Cc: vim@vim.org
Subject: Re: Enabling gvim?
[EMAIL
:s/\search_term\/\\index{}/gc
This, with some more fudging with the replace string seems to serve my
purpose for now. Thank You. However, I was wondering if there was
already some sophisticated script or function written for this purpose
explicitly that can handle all the various situations
:help nop
but rather is being interpreted as less-than, en, oh, pee,
greater-than and the en portion of it is trying to look for
the last regexp.
Try (untested):
:inoremap c-u c-oltNopc-u
This is the behavior I _see_, but that I understood having
nop should send a no-op keycode.
Ok, how do I tell ./configure where X11 include/lib
dirs are? I tried the --x-includes=DIR and
--x-libraries=DIR to no avail. Seems like it can't
find them so it throws away gui support.
-Original Message-
From: Fouts Christopher (QNA RTP PT PREV)
Sent: Tuesday, February 20, 2007 2:21
Tim Chase wrote:
:help nop
but rather is being interpreted as less-than, en, oh, pee,
greater-than and the en portion of it is trying to look for the
last regexp.
Try (untested):
:inoremap c-u c-oltNopc-u
This is the behavior I _see_, but that I understood having nop
should send a
[EMAIL PROTECTED] wrote:
Ok, how do I tell ./configure where X11 include/lib
dirs are? I tried the --x-includes=DIR and
--x-libraries=DIR to no avail. Seems like it can't
find them so it throws away gui support.
Do you have the _header_ files for _compiling_ with X11 installed? On my
On 2007-02-20, [EMAIL PROTECTED] wrote:
It's in HPUX, and 10.20 at that. but I'll try your
--with-features option.
I don't know how standard the HP-UX 10.20 installation I use is, but
I built vim-7.0 without any problems using these commands:
cd ~/src/vim-7.0
bzcat vim-7.0.tar.bz2 |
I suspect that the main reason behind the hjkl (which is very
unnatural for me, the arrows have a much better design with the
inverted
T at least IMHO) was that the first keyboards used to develop/use vi
probably hadn't arrow keys, or they were very far at the right of the
keyboard.
Pretty much
-Original Message-
From: Ryan Phillips [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 4:25 PM
To: Fouts Christopher (QNA RTP PT PREV)
Cc: vim@vim.org
Subject: Re: Enabling gvim?
[EMAIL PROTECTED] said:
I d/l'd and cofigured vim7.x (latest) as follows...
./configure
(snip)
Ok thanks. Looks like we don't have the X11/Motif libraries,
which I've used before. Someone else configured this machine.
-chris
Actually we have the Motif libs, but I can't find the include
files.
-chris
On Tue, Feb 20, 2007 at 02:08:31AM -0300, g b wrote:
On 2/19/07, Marc Weber [EMAIL PROTECTED] wrote:
On Sat, Feb 17, 2007 at 09:57:57PM -0200, g b wrote:
Any way to indent json correctly on vim?
Obj = {
att1: 'val1',
att2: 'val2',
}
I don't know. But it shouldn't be that hard to
Apparently the original message was bounced by the listbot.
Best regards,
Tony.
Original Message
Subject:Re: Insert mode and arrow keys philosophy
Date: Tue, 20 Feb 2007 11:58:45 -0800
From: Raimon Grau [EMAIL PROTECTED]
To: A.J.Mechelynck [EMAIL PROTECTED]
CC:
Kim Schulz 写道:
On Mon, 19 Feb 2007 23:11:16 +0100
Bram Moolenaar [EMAIL PROTECTED] wrote:
Yongwei Wu wrote:
Bin Chen wrote:
Thanks. I am also looking forward to this talk. But
unfortunately the google video is blocked in some countries,
could some one put the video to the
I would like to increase/decrease the font size by one when i hold
down ctrl and scroll the wheel. is this possible?
Simon Jackson wrote:
I would like to increase/decrease the font size by one when i hold
down ctrl and scroll the wheel. is this possible?
It may be possible, but not easy, since the font size must be extracted from
the 'guifont' option, and the latter has 5 incompatible formats, viz. GTK+2,
Dear Vim users,
A week ago I did a presentation on Vim, called Seven habits of
effective text editing 2.0. I was happy to see a lot of people
come to listen to me. Many more than expected, we ran out of food and
had to get extra chairs. Thanks to all who were there, it was nice to
have a big
Hi Gene :)
* Gene Kwiecinski [EMAIL PROTECTED] dixit:
I suspect that the main reason behind the hjkl (which is very
unnatural for me, the arrows have a much better design with the
inverted
T at least IMHO) was that the first keyboards used to develop/use vi
probably hadn't arrow keys,
Hi Tony :)
* A.J.Mechelynck [EMAIL PROTECTED] dixit:
to hit the ESC and change modes fast, but I hadn't and now hitting ESC
is very unnatural to me, even though I use it in my shell to clean the
command line!.
If the Esc key is too far, you may try using Ctrl-[ instead -- Vim
sees it as
I wrote:
It's a lot quicker to get the PDF with the presentation and notes:
http://www.moolenaar.net/habits.pdf
This is about 640 Kbyte.
But that's the old one! Use this link instead:
http://www.moolenaar.net/habits_2007.pdf
Oh, and in case you are interested in the books mentioned, use
76 matches
Mail list logo