Re: Win64-related patches

2007-02-20 Thread Mike Williams
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 *

Re: New php.vim indent script

2007-02-20 Thread Miles Lott
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

Re: Reminder: Vim presentation in Mountain View tomorrow

2007-02-20 Thread Martin Stubenschrott
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,

Re: patch 7.0.198 (extra)

2007-02-20 Thread Mathias Michaelis
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

[PATCH] minor typo in tutor

2007-02-20 Thread Michael Wookey
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

RE: [PATCH] minor typo in tutor

2007-02-20 Thread Michael Wookey
Hmm.. apologies if my mail client messed that up. Find the patch attached. cheers tutor.patch Description: tutor.patch

Recording of Vim presentation available

2007-02-20 Thread Bram Moolenaar
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

Re: Reminder: Vim presentation in Mountain View tomorrow

2007-02-20 Thread Bram Moolenaar
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

RE: [PATCH] minor typo in tutor

2007-02-20 Thread Bram Moolenaar
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

[correction] Recording of Vim presentation available

2007-02-20 Thread Bram Moolenaar
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

Re: Cursor position - file history

2007-02-20 Thread Yakov Lerner
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

Re: Cursor position - file history

2007-02-20 Thread Bill McCarthy
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

Caseless tag matching

2007-02-20 Thread Jeenu V
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

Re: Re : Omni Confusion

2007-02-20 Thread Vissale NEANG
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

run make! from subdirs

2007-02-20 Thread Ilia N Ternovich
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

Re: Re : Omni Confusion

2007-02-20 Thread Bill McCarthy
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

obby support

2007-02-20 Thread Fredrik Gustafsson
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

Re: run make! from subdirs

2007-02-20 Thread James Kanze
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

Re: run make! from subdirs

2007-02-20 Thread Wolfgang Schmidt
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

Re: run make! from subdirs

2007-02-20 Thread hermitte
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

Re: ant plugin recomendation

2007-02-20 Thread hermitte
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

Re: run make! from subdirs

2007-02-20 Thread Yakov Lerner
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

Re: Overview of diretories of $HOME/.vim

2007-02-20 Thread Kai Weber
* 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

Insert mode and arrow keys philosophy

2007-02-20 Thread Pavel Shevaev
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread Jeenu V
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread Yakov Lerner
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

Re: Cursor position - file history

2007-02-20 Thread David Woodfall
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

Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Tim Chase
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread Pavel Shevaev
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

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Yakov Lerner
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread Yakov Lerner
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread vim
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

Re: indexing in a latex file

2007-02-20 Thread Alan G Isaac
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

Re: Cursor position - file history

2007-02-20 Thread A.J.Mechelynck
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. --

Re: perl questioin.

2007-02-20 Thread A.J.Mechelynck
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

Re: Reread the file

2007-02-20 Thread A.J.Mechelynck
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

Re: Caseless tag matching

2007-02-20 Thread A.J.Mechelynck
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?

Re: Overview of diretories of $HOME/.vim

2007-02-20 Thread Tim Chase
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread A.J.Mechelynck
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

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Tim Chase
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

Re: Overview of diretories of $HOME/.vim

2007-02-20 Thread Charles E Campbell Jr
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

Re: Reread the file

2007-02-20 Thread Charles E Campbell Jr
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()

French characters (how?)

2007-02-20 Thread Peter
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

Re: French characters (how?)

2007-02-20 Thread A.J.Mechelynck
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

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Christian Ebert
* 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

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Hari Krishna Dara
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

Re: French characters (how?)

2007-02-20 Thread Peter
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

RE: Insert mode and arrow keys philosophy

2007-02-20 Thread Gene Kwiecinski
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*

Enabling gvim?

2007-02-20 Thread Chris.Fouts
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?

Re: Enabling gvim?

2007-02-20 Thread A.J.Mechelynck
[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

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
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 =

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
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-

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
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

OT: Want to sitch from Emacs-based mailprogram to one supporting vim

2007-02-20 Thread Meino Christian Cramer
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

Re: Enabling gvim?

2007-02-20 Thread Charles E Campbell Jr
[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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread DervishD
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).

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread A.J.Mechelynck
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

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
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

Re: indexing in a latex file

2007-02-20 Thread C.G.Senthilkumar.
: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

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread Tim Chase
: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.

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
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

Re: Marking an undo-block before ^U in insert-mode

2007-02-20 Thread A.J.Mechelynck
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

Re: Enabling gvim?

2007-02-20 Thread A.J.Mechelynck
[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

Re: Enabling gvim?

2007-02-20 Thread Gary Johnson
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 |

RE: Insert mode and arrow keys philosophy

2007-02-20 Thread Gene Kwiecinski
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

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
-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

RE: Enabling gvim?

2007-02-20 Thread Chris.Fouts
(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

Re: indenting and json

2007-02-20 Thread Marc Weber
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

[Fwd: Re: Insert mode and arrow keys philosophy]

2007-02-20 Thread A.J.Mechelynck
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:

Re: The Seven Habits Of Effective Text Editing 2

2007-02-20 Thread Bin Chen
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

changing font size with scroll

2007-02-20 Thread Simon Jackson
I would like to increase/decrease the font size by one when i hold down ctrl and scroll the wheel. is this possible?

Re: changing font size with scroll

2007-02-20 Thread A.J.Mechelynck
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,

Recording of Vim presentation available

2007-02-20 Thread Bram Moolenaar
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

Re: Insert mode and arrow keys philosophy

2007-02-20 Thread DervishD
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,

Re: [Fwd: Re: Insert mode and arrow keys philosophy]

2007-02-20 Thread DervishD
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

[correction] Recording of Vim presentation available

2007-02-20 Thread Bram Moolenaar
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