Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives fileformats=dos,unix, so both formats are available, yet the detection

Re: vim 7.1 and cr/lf interpretation

2007-05-15 Thread A.J.Mechelynck
Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/15, A.J.Mechelynck [EMAIL PROTECTED]: Thomas Michael Engelke wrote: 2007/5/14, Andy Wokula [EMAIL PROTECTED]: Thomas Michael Engelke schrieb: :set fileformats? gives

Re: yanking text

2007-05-15 Thread A.J.Mechelynck
Robert Cussons wrote: Hi, I think a question like this was posted a long time ago, but I can't remember where or the answer, so please excuse me for asking it again. If I yank the next word with yw the cursor stays where it is. However if I want to yank text backwards from my current position

Re: I can't change the font in vim7.1!

2007-05-14 Thread A.J.Mechelynck
Larson, David wrote: I just upgraded to 7.1, and now when I open up a gvim session, I get this huge monospaced font that I can't change. If I type: :set guifont? it returns 7x14 which is what I set it to, but it isn't what is displayed. If I change the setting to *any* other font that is valid

Re: mouse-wheel scrolling with vertically split windows

2007-05-14 Thread A.J.Mechelynck
Waters, Bill wrote: (I am using gVim 7.1 in Windows XP.) If I do a :vsplit, I end up with a scroll bar on the right for the right window and a scroll bar on the left for the left window. When I use my mouse wheel to scroll, the left window scrolls, regardless of which window is selected. If I

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-13 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi vimmers, I have WinXPSP2 and installed gvim 7.1, taglist plugin 4.2, cygwin with the most up-to-date version DLL. The issue is: run gvim from windows will fail the taglist plugin, taglist plugin only works when I launch gvim from within cygwin bash, (Yes I am

Re: taglist plugin launch ctags fail in gvim windows.

2007-05-13 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-05-14 13:21:47: If your shell is cmd.exe, /usr/bin/ctags will give Unknown command or file name. If you want to mix Dos shells and cygwin utilities, you will have to juggle with the path formats: see man cygpath from within

Re: is there bracket automatic completion scripts?

2007-05-13 Thread A.J.Mechelynck
Ken YANG wrote: hi all, when i am programming, i often want to the bracket automatic completion function, i.e. when you input left bracket, vim will add another(right) bracket for you automatically, and move the cursor into the middle of bracket automatically. as we know, gedit has this kind

Re: Bug: .viminfo file gets deleted and re-created with 666 permissions

2007-05-12 Thread A.J.Mechelynck
Micah Cowan wrote: Bram Moolenaar wrote: [...] The solution is simple: Don't create a link in place of the .viminfo file. And certainly not to /dev/null. Background info: When Vim finds an existing .viminfo file, it writes the new info into a temp file (since it's still reading from the

Re: Bug: .viminfo file gets deleted and re-created with 666 permissions

2007-05-12 Thread A.J.Mechelynck
Micah Cowan wrote: A.J.Mechelynck wrote: Micah Cowan wrote: Bram Moolenaar wrote: [...] The solution is simple: Don't create a link in place of the .viminfo file. And certainly not to /dev/null. Background info: When Vim finds an existing .viminfo file, it writes the new info into a temp

Re: [Bulk] Re: Bug: .viminfo file gets deleted and re-created with 666 permissions

2007-05-12 Thread A.J.Mechelynck
Robert Lee wrote: A.J.Mechelynck wrote: Micah Cowan wrote: A.J.Mechelynck wrote: Micah Cowan wrote: Bram Moolenaar wrote: [...] The solution is simple: Don't create a link in place of the .viminfo file. And certainly not to /dev/null. Background info: When Vim finds an existing .viminfo

Re: Re-trigger modelines

2007-05-12 Thread A.J.Mechelynck
Steve Hall wrote: Is there a way to re-trigger the read/execution of modelines? My autocommands are overriding my modelines but I want the reverse. :e % See also :help BufReadPost for an autocommand event which does not override modelines. Best regards, Tony. -- Haggis, n.:

Re: How to efficiently type polytonic Greek?

2007-05-12 Thread A.J.Mechelynck
Informationen wrote: Hi, could somebody tell me how to type complex Greek characters like ῷ or ἅ. I am using vim7.0 with multibyte and myltilang enabled on Kubuntu 6.06. In other applications I change the language to polytonic greek and use a composer key. Is there a similar way in vim

Re: Bug: .viminfo file gets deleted and re-created with 666 permissions

2007-05-11 Thread A.J.Mechelynck
Micah Cowan wrote: Following description lifted from bug filed at https://bugs.launchpad.net/ubuntu/+source/vim/+bug/78960 [EMAIL PROTECTED]:~$ rm .viminfo [EMAIL PROTECTED]:~$ ln -s /dev/null .viminfo [EMAIL PROTECTED]:~$ ls -l .viminfo lrwxrwxrwx 1 sa sa 9 2007-01-12 17:16 .viminfo -

Re: Bug: .viminfo file gets deleted and re-created with 666 permissions

2007-05-11 Thread A.J.Mechelynck
Taylor Venable wrote: [...] If it did follow the symlink to /dev/null, and tried to read from that device, it would fail. You can't (or at least, shouldn't) read from /dev/null because it's a sink, not a source. What kind of behavior would you expect, trying to read from /dev/null? [...]

Re: comments after brackets with vim?

2007-05-11 Thread A.J.Mechelynck
Simon Butler wrote: hi, when i write this skill (cadence extension language) fragment in emacs i get the following: procedure( vscCheckpointHier( @key lib cell view message inclibs ) let(( ddCVs ) vscPrint0(sprintf( nil Hierarchy for %s,%s,%s ... lib cell view )) when(

Re: comments after brackets with vim?

2007-05-11 Thread A.J.Mechelynck
Simon Butler wrote: Hi Tony, thx for getting back to me, my comments below: On May 11, 2007, at 3:42 PM, A.J.Mechelynck wrote: Simon Butler wrote: hi, when i write this skill (cadence extension language) fragment in emacs i get the following: procedure( vscCheckpointHier( @key lib cell

Re: comments after brackets with vim?

2007-05-11 Thread A.J.Mechelynck
Simon Butler wrote: [...] maybe i'm missing something here. my objective is not to write the comments by hand. they should appear automatically after the brackets, thats how skill mode in emacs is setup and i'd like to be able to do the same thing in vim [...] ah. I suppose it could be done

Re: comments after brackets with vim?

2007-05-11 Thread A.J.Mechelynck
Simon Butler wrote: On May 11, 2007, at 4:48 PM, A.J.Mechelynck wrote: Simon Butler wrote: [...] maybe i'm missing something here. my objective is not to write the comments by hand. they should appear automatically after the brackets, thats how skill mode in emacs is setup and i'd like

Re: 7.1a.001 OSX colour scheme errors?

2007-05-10 Thread A.J.Mechelynck
Bram Moolenaar wrote: [...] I'll add a specific line to copy rgb.txt. Just for the record, after reformatting the entries to a common format and sorting, a diff between my ~/.build/vim/vim71a/runtime/rgb.txt and my /usr/share/X11/rgb.txt shows no other difference than the header comment --

Re: 7.1a.001 OSX colour scheme errors?

2007-05-09 Thread A.J.Mechelynck
Michael Wookey wrote: A.J.Mechelynck wrote: Michael Wookey wrote: Hello vimmers, I am running 7.1a.001 on OSX and have just noticed the following from console vim (running in Terminal.app and also occurs in iTerm.app). If I change the colour scheme I receive a lot of error output

(Doc RFE) rgb.txt

2007-05-09 Thread A.J.Mechelynck
I had a devil of a time locating the rgb.txt file on my SuSE 10.2 distro. In order to alleviate the task of fellow users, I propose the attached patch to :help rgb.txt. Best regards, Tony. -- hundred-and-one symptoms of being an internet addict: 223. You set up a web-cam as your home's

Re: [SOLVED] RE: 7.1a.001 OSX colour scheme errors?

2007-05-09 Thread A.J.Mechelynck
Michael Wookey wrote: Hm... Maybe the console version checks the values of the guibg= guifg= settings even though it doesn't use them. Try dropping the attached file into your $VIMRUNTIME folder and see if it makes any difference. (See :help rgb.txt for an explanation of how Vim uses it. IIUC,

Re: vim_is_xterm() and screen

2007-05-09 Thread A.J.Mechelynck
Micah Cowan wrote: I wrote: Therefore, there would seem to be no harm whatsoever in detecting screen as an xterm-mouse-code-capable terminal, and sending the mouse-mode sequence (xterm protocol, since AFAIK screen provides no way to detect the underlying xterm version). If the underlying

Re: Tab right-click menu hardcoded

2007-05-09 Thread A.J.Mechelynck
Setting followups to vim-dev Steve Hall wrote: The current right-click menu on GUI tabs is hardcoded and presents a whole host of issues for anyone who uses code to manage buffers, tabs, or windows. It pretends to be a sophisticated menu but it really executes a basic Vim command which may or

Re: [Announcement] Subversion repository location changed

2007-05-09 Thread A.J.Mechelynck
Micah Cowan wrote: Edward L. Fox wrote: On 5/10/07, Gautam Iyer [EMAIL PROTECTED] wrote: I got the same error. My response was rm -rf vim7 svn co https://svn.sourceforge.net/svnroot/vim/trunk vim7 svn switch can only switch from a directory into another directory inside the same

Re: replace number with zero-packed number

2007-05-09 Thread A.J.Mechelynck
Luke Vanderfluit wrote: Hi. I have a csv file that contains a field with a number, say 98. I need to zerofill the fields to be 6 digits. So any field that is say 98, should become 98. Is there an easy way to do this with search and replace? Thanks. Kind regards. There are several ways

Re: what feature is required to return to last editing position?

2007-05-09 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: When opening a file in vim, the cursor will move to the last position when the file was saved. The feature is enabled by some autocommands in vimrc_example.vim, I copied the code into my .vimrc and use it in all platform. It really does work in my WindowsXP gvim,

Re: what feature is required to return to last editing position?

2007-05-09 Thread A.J.Mechelynck
François Ingelrest wrote: Hello, I'm also using vim with an Ubuntu Feisty. Here is what I have in my .vimrc: Try to restore cursor position when reading a buffer au BufReadPost * if line('\) | exe normal '\ | endif It works quite well. Yeah, that is almost the same as the code in the

Re: ^M displayed in vi but not in vim

2007-05-09 Thread A.J.Mechelynck
Dan Fabrizio wrote: Hi all, Does anyone know why vim don't show the ^M characters in a file but vi does? :set list in vim shows $ at the end of the lines but no ^M characters? :set ff=unix :w This removed the ^M characters but I had to use vi to verify. Is there some setting I'm

Re: $HOME inconsistent in Windows?

2007-05-09 Thread A.J.Mechelynck
Chris Sutcliffe wrote: Hey All, I've defined a HOME environment variable as %HOMEDRIVE%%HOMEPATH%. In a command prompt, if get the following: echo %HOME% C:\Documents and Settings\user ID In gvim, I get the following: :e $HOME\ which expands to :e c:\Documents\ and\ Settings\user

Re: Tab right-click menu hardcoded

2007-05-09 Thread A.J.Mechelynck
Setting followups to vim-dev Steve Hall wrote: The current right-click menu on GUI tabs is hardcoded and presents a whole host of issues for anyone who uses code to manage buffers, tabs, or windows. It pretends to be a sophisticated menu but it really executes a basic Vim command which may or

Re: is there a list-administrator ?

2007-05-09 Thread A.J.Mechelynck
Toon Knapen wrote: Is there a list-administrator also listening in ? I have tried to unsubscribe a zillion times now and I'm still on this list. I would appreciate if the ml-admin could help me out here. thanks toon AFAIK, there is no list-admin; just the mail robot. Or if there is

Re: is there a list-administrator ?

2007-05-09 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Toon Knapen wrote: Is there a list-administrator also listening in ? I have tried to unsubscribe a zillion times now and I'm still on this list. I would appreciate if the ml-admin could help me out here. Somewhat modified version of what Tony M sent awhile

[Fwd: Re: $HOME inconsistent in Windows?]

2007-05-09 Thread A.J.Mechelynck
Forward to list Original Message Subject: Re: $HOME inconsistent in Windows? Date: Wed, 9 May 2007 20:22:53 -0400 From: Chris Sutcliffe [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] Maybe you set it to something

Re: [Fwd: Re: $HOME inconsistent in Windows?]

2007-05-09 Thread A.J.Mechelynck
Chris Sutcliffe wrote: Forward to list Sorry, forgot to check the To field in the reply... Cheers! Chris Next time, use Reply to All (or Reply to List if your mailer offers it). Best regards, Tony. -- George Orwell 1984. Northwestern 0. -- Chicago Reader 10/15/82

Re: Blocking of save

2007-05-09 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi, is there a way to disabling the saveing and writing of/to a file and leaving of vim until a certain condition of the contents of the file is not given (in this case certain characters are not allowed as contents of the file)? The whole thing should only be

Re: Blocking of save

2007-05-09 Thread A.J.Mechelynck
A.J.Mechelynck wrote: [EMAIL PROTECTED] wrote: Hi, is there a way to disabling the saveing and writing of/to a file and leaving of vim until a certain condition of the contents of the file is not given (in this case certain characters are not allowed as contents of the file)? The whole

Re: automatically enter normal mode

2007-05-09 Thread A.J.Mechelynck
John Little wrote: Hi all No one has mentioned the feedkeys() work-around (ahem, swallow) for this, if you want periodic events. For example, function! Timer() echo strftime(%c) let K_IGNORE = \x80\xFD\x35internal key code that is ignored call feedkeys(K_IGNORE)

Re: $VIMRUNTIME problem

2007-05-08 Thread A.J.Mechelynck
Anatoli Sakhnik wrote: Hello! On RHEL4 works well! On Fedora Core 6 couldn't automatically determinte $VIMRUNTIME, lacked the last part 'vim71a' in the path when I tried to open a file (say, Foo.hs). Without initial file opening from command line works well. On mingw (Windows XP) couldn't

Re: vim_is_xterm() and screen

2007-05-08 Thread A.J.Mechelynck
Micah Cowan wrote: [...] But you already have hacked support into your programs for mouse support. Now that you've done that, couldn't you just open it up a bit? Is there anything wrong with always recognizing the appropriate xterm sequences (provided that they don't first match a valid terminfo

(Doc bug) Error in options.txt

2007-05-08 Thread A.J.Mechelynck
One word under :help 'ttymouse' was obviously forgotten when that option got more possible settings. See suggested patch, attached. Best regards, Tony. -- You should never wear your best trousers when you go out to fight for freedom and liberty. -- Henrik Ibsen ***

Re: Define regexp

2007-05-08 Thread A.J.Mechelynck
Tim Chase wrote: Is it possible to define a regular expression so that it remembered (.vimrc?) and i can just refer to the name of the regexp rather than type the whole thing, eg. something like: define myregexp = '^ *[1-9][0-9]\{3}-[A-Z0-9\-]*\. *$' and then in command line i just do:

Re: automatically enter normal mode

2007-05-08 Thread A.J.Mechelynck
Halim, Salman wrote: You can have something happen on multiples of CursorHold and CursorHoldI by doing something like this (untested): :let g:flag = 0 :au CursorHoldI * if g:flag == 1 | doSomething | let g:flag = 0 | else | let g:flag += 1 | endif The 'doSomething' bit should only happen every

Re: how to open an already opened file into an new tab?

2007-05-08 Thread A.J.Mechelynck
lin q wrote: Hi, Let us say VIM already have f1 and f2 opened in 2 tabs, when I opened f2 I use this command: vim --servername GVIM1 --remote-tab f2 This causes that on the tabline, the full path of f2 shows after some abbreviation. Now I want to open f2 into another tab, but I do not

Re: problem with win32 vim 7.1a.001

2007-05-07 Thread A.J.Mechelynck
Michael Wookey wrote: Hello vim list, I've just synced up to 7.1a.001 (svn #263) and built on Win32 (MSVC). Everything builds fine and I replace my previous gvim.exe and vim.exe with the newly built versions. I also sync my runtime from ftp.nluug.nl. My vim installation is in:

Re: Compiling vim in mingw.

2007-05-07 Thread A.J.Mechelynck
Markus Trenkwalder wrote: Hi list, checked out vim-7.1a.001 today from svn (#263) and tried to compile it with mingw-gcc and got the following error: 8 $ make -f Make_ming.mak gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DHAVE_PATHDEF -DFEAT_BIG -DHAVE_GETTEXT

Re: Where to find 7.1a patchlevels runtimes? (Was: patch 7.1a.001)

2007-05-07 Thread A.J.Mechelynck
Bram Moolenaar wrote: Tony Mechelynck wrote: [...] I notice this patch modifies one runtime file. This reminds me that runtime updates are not always reflected in patches. Do the files in ftp://ftp.vim.org/pub/vim/runtime/ (and the equivalent rsync repository, ftp.nluug.nl::Vim/runtime/ )

Re: Compiling vim in mingw.

2007-05-07 Thread A.J.Mechelynck
Edward L. Fox wrote: On 5/7/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: [...] You're not the first; there seems to have been a f*ckup in the svn commit lately. I suggest you scrap your existing 7.1a sources and restart from scratch, by downloading the 7.1a.000 sources then applying the 7.1a

Re: Searching for control (unprintable) characters.

2007-05-07 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hello Antoine, In VI, if I wanted to search for a control character (like ctrl-m) I used the ^v character. Can you tell me how I would do it in VIM (in a windows environment)? Thanks very much, Dennis -- *Dennis Franklin* *Senior Customer Engineer*

Re: editor size

2007-05-07 Thread A.J.Mechelynck
linda.s wrote: On 5/7/07, Michael Henry [EMAIL PROTECTED] wrote: linda.s wrote: After I set textwidth=78 in the .gvimrc and .vimrc, I opened my vim editor and the cursor ends at column 68. Everytime I need manaually drag the editor to make it column 78. Is there a way to make the editor the

Re: Vim version 7.1a BETA has been released

2007-05-06 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-05-05, A.J.Mechelynck [EMAIL PROTECTED] wrote: Bram Moolenaar wrote: Announcing: Vim (Vi IMproved) version 7.1a BETA This is a BETA release of Vim 7.1. It consists of Vim 7.0 plus all patches and updated runtime files. I expect this to be stable, since

Re: Vim version 7.1a BETA -- svn ?

2007-05-06 Thread A.J.Mechelynck
Yakov Lerner wrote: On 2007-05-05, Bram Moolenaar [EMAIL PROTECTED] wrote: Announcing: Vim (Vi IMproved) version 7.1a BETA I tried to build vim7.1 from svn. But all I get from usual svn location (https://svn.sourceforge.net/svnroot/vim/vim7), is vim 7.0.236. Will vim7.1 be served at this

Re: Vim version 7.1a BETA has been released

2007-05-06 Thread A.J.Mechelynck
Michael Henry wrote: Gary Johnson wrote: On 2007-05-05, A.J.Mechelynck [EMAIL PROTECTED] wrote: (Warning: In the ln command as used here, the target name comes before the link name. I find this counter-intuitive.) It's not just me then. I have to think carefully about that every time I

Where to find 7.1a patchlevels runtimes? (Was: patch 7.1a.001)

2007-05-06 Thread A.J.Mechelynck
Bram Moolenaar wrote: Patch 7.1a.001 Problem:Crash when downloading a spell file. (Szabolcs Horvat) Solution: Avoid that did_set_spelllang() is used recursively when a new window is opened for the download. Also avoid wiping out the wrong buffer. Files:

Re: Vim version 7.1a BETA -- svn ?

2007-05-06 Thread A.J.Mechelynck
François Pinard wrote: [Martin Krischik] [Martin Krischik] That is probalby because the svn server is a mess. [probably] Only the vim svn archive has no space for tags, braches or releases. [branches] It is not a mess, merely

Re: Favorite little-known feature

2007-05-05 Thread A.J.Mechelynck
Clinton Curry wrote: Every once in a while, I discover (either through help files or this list) a relatively little-known feature of vim which really enhances my computing experience. The most recent occurrence of this (thanks to A.J.Mechelynck) is the netrw feature (:help netrw) which allows

Re: After recovering a file, filename.swp is left behind.

2007-05-05 Thread A.J.Mechelynck
Brian Gupta wrote: Is this a deliberate decision by the developers? If so what is the reason, as I don't need itafter recovery? Thanks, Brian See the last two paragraphs below :help :recover: quote Be sure that the recovery was successful before overwriting the original file or deleting the

Re: how to enable mouse in vim of cygwin

2007-05-04 Thread A.J.Mechelynck
sun wrote: I'm using cygwin and rxvt. It works quite well, since you don't need to start an X server for the application - it just runs. Put the following in your cygwin launcher (cygwin_rxvt.bat for me): @echo off C: chdir C:\cygwin\bin set SHELL=/bin/bash rxvt -ls -sr -sl 1500 -fn

Re: Vim stalls when I try to enable syntax on vimrc (Cream

2007-05-04 Thread A.J.Mechelynck
Albie Janse van Rensburg wrote: Hi all I recently decided to try out the Cream build (sans Cream) of Vim, with all the new patches (from http://sourceforge.net/project/showfiles.php?group_id=43866package_id=39721). Now, I seem to be unable to edit my vimrc without bringing Vim to a

Re: Vim stalls when I try to enable syntax on vimrc (Cream

2007-05-04 Thread A.J.Mechelynck
Albie Janse van Rensburg wrote: Steve Hall wrote: From: Albie Janse van Rensburg, Fri, May 04, 2007 6:35 am I recently decided to try out the Cream build (sans Cream) of Vim, with all the new patches (from http://sourceforge.net/project/showfiles.php?group_id=43866package_id=39721). Now,

Re: question about insert mode and zz

2007-05-04 Thread A.J.Mechelynck
shawn bright wrote: Hey there all, i really dig the zz function to get me in the middle of the screen. i was wondering if there were an insert mode ability to do the same thing. So if i am writing a long function and get to the bottom of the screen i can move where i am at to the middle of the

Re: search pattern on sed or grep

2007-05-04 Thread A.J.Mechelynck
Nikolaos A. Patsopoulos wrote: Hi all, I'm very sorry to bother the list with this problem but I've been searching in the web the couples hours to find an answer and still haven't find any. The problem is that I have a txt file of 3.5GB containing all the info of Human chromosome 6. I want

Re: how to enable mouse in vim of cygwin

2007-05-04 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-05-04, Albie Janse van Rensburg [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: sun wrote: I'm using cygwin and rxvt. It works quite well, since you don't need to start an X server for the application - it just runs. Put the following in your cygwin launcher

Re: how to get gvim to open a file over ssh?

2007-05-04 Thread A.J.Mechelynck
ben lieb wrote: In ubuntu linux: I have a remote (ssh) connection through nautilus (gui file manager). When I right-click a file, I can open, edit and save the file in text editor without any problem. When I open the file in gvim, it is empty. What can I do to solve this? Thanks for any help

Re: wish: show search progress on slow searches

2007-05-03 Thread A.J.Mechelynck
Yakov Lerner wrote: On 5/1/07, Yakov Lerner [EMAIL PROTECTED] wrote: [...] How about using SIGALRM when search is progressing, every second ? SIGALRM handler would store time() into global var (and reload alarm(1)). The search would check the global var for changes, every line. It is cheap to

Re: figlet script

2007-05-03 Thread A.J.Mechelynck
Troy Piggins wrote: I was looking for some helper commands for using something like 'figlet' from within vim. Searched the vim scripts and closest I could find was the larlet.vim script http://www.vim.org/scripts/script.php?script_id=1357 At present I have this in my .vimrc: map ,f :r!figlet

Re: Alt hotkeys in insert mode of gvim under OpenSUSE 10.2

2007-05-03 Thread A.J.Mechelynck
Petr Mikulik wrote: Hello all, since a long time, I've used Alt-hotkeys in both normal and insert mode. After an upgrade to OpenSUSE 10.2, the Alt-hotkeys stopped working in insert mode (imap), while they still work in the normal mode (nmap). For example, :imap c-i hello :imap a-i

Re: vim6 and 'smartcase'

2007-05-03 Thread A.J.Mechelynck
Yakov Lerner wrote: Did vim6 had 'smartcase' option ? I am sorry, I do not access to vim6 at the moment to check it myself. Thanks Yakov Neither do I, but I have access to the version4.txt to version7.txt helpfiles and the :helpgrep command ;-) There is one mention of 'smartcase' in

Re: figlet script

2007-05-03 Thread A.J.Mechelynck
Troy Piggins wrote: [...] Filter looks promising. If you have figlet on your system, how do you use it? Do you ever use it within vim? Do you have keys mapped, or scripts? [...] You can replace a range of lines by its figlet representation: Here are a few examples: Visual!figlet

Re: Alt hotkeys in insert mode of gvim under OpenSUSE 10.2

2007-05-03 Thread A.J.Mechelynck
Petr Mikulik wrote: since a long time, I've used Alt-hotkeys in both normal and insert mode. After an upgrade to OpenSUSE 10.2, the Alt-hotkeys stopped working in insert mode (imap), while they still work in the normal mode (nmap). For example, :imap c-i hello :imap a-i hello :imap m-i hello =

Re: Absolute tag paths in Win32

2007-05-03 Thread A.J.Mechelynck
Eric Roberts wrote: Hello! I seem to be having some difficulty in using tag files for a C project. I've done some searching on the maillist with no progress. I'm working under Win32, and here's what I have in my _vimrc set tags+=c:\Projects\some_folder_name_here\tags When I explore to a

Re: saving marks for the next session

2007-05-03 Thread A.J.Mechelynck
Normandie Azucena wrote: hi all! can I save marks? I mean if I do mks session.vim my marks will also be saved. or Is there a way to save marks that I created for a certain file? tnx in advance! All marks can be saved in the viminfo file, see :help 21.3 :help 'viminfo'

Re: feedkeys() allowed in sandbox

2007-05-01 Thread A.J.Mechelynck
Bram Moolenaar wrote: [...] Modelines are default off when you are root. The mail filetype plugin also switches it off. [...] Are you sure? In a terminal logged-in as root, using vim 7.0.235: vim -u NONE -N :set ml? mls? modeline modelines=5 Modelines default off when

Re: patch 7.0.236

2007-05-01 Thread A.J.Mechelynck
scott wrote: i had to 'rm src/auto/config.cache before i could build with this one sc Yes, this is normal for a patch affecting the configure files: src/auto/configure src/configure.in src/config.h.in Me too: the first make ended in an error, suggesting to

Re: patch 7.0.237

2007-05-01 Thread A.J.Mechelynck
Bram Moolenaar wrote: Patch 7.0.237 Problem:For root it is recommended to not use 'modeline', but in not-compatible mode the default is on. Solution: Let 'modeline' default to off for root. Files: runtime/doc/options.txt, src/option.c Note: :set mlvim or

[Fwd: Re: arabic font]

2007-05-01 Thread A.J.Mechelynck
Arabia --- A.J.Mechelynck [EMAIL PROTECTED] wrote: Babiker Osman wrote: Hi Thanks Tony for your help :echo has(arabic) The answer is 1 I did the pasting however Did you (re)start gvim with the modified vimrc? Vim will insert the current 'guifont' value, with escaping

Vim binaries for Linux

2007-04-30 Thread A.J.Mechelynck
Announcement: I've tentatively uploaded my current vim binary. Here are the details and caveats: - :version output is at http://users.skynet.be/antoine.mechelynck/vim/version.txt -- check this first before you attempt to download the executable. - executable is at

Re: feedkeys() allowed in sandbox

2007-04-30 Thread A.J.Mechelynck
John Beckett wrote: [...] Is folding really needed in a default modeline? John Folding may be useful in a modeline. (Don't know what you call a default modeline.) Depending on how the particular file is written, you may want to set foldmethod=marker (and which marker), foldmethod=syntax,

Re: accessing vim's clipboard from java

2007-04-30 Thread A.J.Mechelynck
Ernie Rael wrote: Hi all, I've just joined this list. I'm not a vim developer per se. However, I put together jVi, http://jvi.sourceforge.net , whose core is a port of some of vim to java. It runs on NetBeans ( and JBuilder, but not supported any more). jVi is based on vim-5.6. A jVi user

Re: arabic

2007-04-30 Thread A.J.Mechelynck
Babiker Osman wrote: Hi السلام I wonder who is the most arabic -vim -tex expert to consult him babiker osman It depends what you want to do. - If it's so high-fired secret that you won't give us any hint of what you might be doing, just dig into the help. Start at :help arabic.txt if

Re: who actually controls the window size of my gvim?

2007-04-30 Thread A.J.Mechelynck
Zhaojun WU wrote: Hi, Vimmers, Just found an interesting problem but don't why. I am using Debian on my Linux box and used the vim-gtk package before. I have the settings like: = if has(gui_running) set guifont=BitStream\ Vera\ Sans\ Mono\ 11 set

Re: arabic font

2007-04-30 Thread A.J.Mechelynck
Babiker Osman wrote: Hi I am looking for appropriate arabic fonts to integrate with vim and how can i set it babiker The following assumes that you have a gvim version with Arabic support. Try :echo has(arabic) If the answer is nonzero (normally 1), it's OK. If it's zero, you

Re: who actually controls the window size of my gvim?

2007-04-30 Thread A.J.Mechelynck
John Orr wrote: Two cents worth - I've long had problems like this, on Suse Linux, where something, the OS I have assumed, or the X graphics system, takes control of the sizing of my gvim application. The size is initially set by my lines and columns settings, but something else resizes it

Re: vim 7.1?

2007-04-27 Thread A.J.Mechelynck
Nikolai Weibull wrote: On 4/27/07, Jonathan Smith [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: - Insane? All is relative. We're only at 7.0.233 as of today. FYI, Vim 6.2 went to 532 patches, see http://ftp.vim.org/pub/vim/patches/ Release early, release often :) Isn't that what's

Re: vim 7.1?

2007-04-27 Thread A.J.Mechelynck
Nikolai Weibull wrote: On 4/27/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: On 4/27/07, Jonathan Smith [EMAIL PROTECTED] wrote: A.J.Mechelynck wrote: - Insane? All is relative. We're only at 7.0.233 as of today. FYI, Vim 6.2 went to 532 patches, see http

Re: possible bug: lowercase dotless i and langmap

2007-04-27 Thread A.J.Mechelynck
Bram Moolenaar wrote: [...] I guess most Turkish characters are in latin1, only the ones that are not won't work with 'langmap'. small undotted i, g-breve, s-cedilla, ... Best regards, Tony. -- The primary requisite for any new tax law is for it to exempt enough voters to win the next

Re: Thanks for your tireless help

2007-04-27 Thread A.J.Mechelynck
Michael Henry wrote: Tony, I just wanted to write a quick note of thanks for the gigantic number of postings you generously provide on the Vim mailing lists. I'm a relative newcomer to Vim, and I've learned a great deal from your helpful comments. :-) Let's say it's compensation on my

Re: syntax - multiple colors in same string

2007-04-27 Thread A.J.Mechelynck
subrama6 wrote: i'm somewhat new to vim, and particularly new to making my own syntax file, so please forgive me if this is a dumb question :) basically, i'm using vim to keep a GTD style todo list, with various tasks tagged by context. the format of the file is as follows: @vim @syntax :

Re: help needed with completion in version 7

2007-04-27 Thread A.J.Mechelynck
Andrei A. Voropaev wrote: Hello! There is one thing about completion in version 7 that keeps confusing me. Let's look at the example. Take the text -- int test_func1() { } int test_func2() { } - Now I want to add new line int

Re: Avoiding German Umlauts....

2007-04-27 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi, I want to write a macro, function or what else, which ensures, that no german umlauts (äöüÄÖÜ) or the sz (ß) will ever occure in any file written with vim. It does not matter, if these charactes will appear while typing but they should never and under no

Re: help needed with completion in version 7

2007-04-27 Thread A.J.Mechelynck
Andrei A. Voropaev wrote: On Fri, Apr 27, 2007 at 06:51:47AM +0200, A.J.Mechelynck wrote: [...] Completion continues until: - You type a non-word character, such as a space or a comma; This is not 100% correct. It continues untill space or Enter is encountered. Coma, ( { etc are not counted

Re: button t useless?

2007-04-27 Thread A.J.Mechelynck
Matthew Winn wrote: On Thu, 26 Apr 2007 09:06:01 -0700 (PDT), Arun Easi [EMAIL PROTECTED] wrote: In mapping. bdw cannot be used generically to delete the word under cursor. Single letter objects is one case. Other one is when the cursor is at the start of the word (I know you are talking when

Re: Avoiding German Umlauts....

2007-04-27 Thread A.J.Mechelynck
Andy Wokula wrote: A.J.Mechelynck schrieb: [...] Note that the official transliteration of the eszett is not sz but ss: upcase(ß) is SS and, in de_CH locales, the eszett is not used (other than for archaic look, sometimes together with a Fraktur font); ss is used in its stead everywhere

Re: help needed with completion in version 7

2007-04-27 Thread A.J.Mechelynck
Andrei A. Voropaev wrote: On Fri, Apr 27, 2007 at 11:00:50AM +0200, A.J.Mechelynck wrote: Andrei A. Voropaev wrote: On Fri, Apr 27, 2007 at 06:51:47AM +0200, A.J.Mechelynck wrote: [...] Completion continues until: - You type a non-word character, such as a space or a comma; This is not 100

Re: undo line numbers wrong

2007-04-27 Thread A.J.Mechelynck
Robert Cussons wrote: Thanks Bram and Tony, haven't been ignoring your replies, but it's my work machine and they have just updated to Debian Etch, but I haven't restarted my machine yet as I have a lot of things running at the moment and so was waiting for the weekend. Anyway just this

Re: A challenge for those who feel like it

2007-04-27 Thread A.J.Mechelynck
Dolazy wrote: Yesterday I wanted to write a function for opening files that resembled the Firefox feature of right clicking a link and choose 'Open link in new tab'. With the difference that I would use a hotkey instead of the mouse. The requirements where this: - open the file indicated by the

Re: vim | delete consecutive occurrences of a pattern

2007-04-27 Thread A.J.Mechelynck
Nikolaos A. Patsopoulos wrote: Hi, I have a text that has many occurrences of a pattern . I want to delete every consecutive occurrence, e.g. Pattern Pattern other text Pattern Pattern Pattern Pattern other text Pattern Pattern Pattern should look like this: Pattern other text Pattern

Re: syntax - multiple colors in same string

2007-04-27 Thread A.J.Mechelynck
subrama6 wrote: that works well - i couldn't quite figure out what the 'contains' and 'contained' keywords were for just from the help files, so thanks much :) thanks also for the tip about the naming convention - i've amended my syntax file accordingly. [...] Well, picture these syntax

Re: help needed with completion in version 7

2007-04-27 Thread A.J.Mechelynck
Andrei A. Voropaev wrote: On Fri, Apr 27, 2007 at 01:17:39PM +0200, A.J.Mechelynck wrote: [...] Aha, I think, that here we talk about a bug! If I hit Ctrl-N, get the needed completion, and then start typing further, then the completion stops as soon as there are no more matches. BUT. If after

<    1   2   3   4   5   6   7   8   9   10   >