Re: noimd don't works under linux

2006-11-04 Thread A.J.Mechelynck
Eddy Zhao wrote: 2006/11/5, A.J.Mechelynck <[EMAIL PROTECTED]>: Eddy Zhao wrote: >> >> I tried this on FC2: >> >> :set stl=%{&imd} >> :inoremap :set imd >> :nnoremap i :set noimdi >> >> The first line (along with my usual :set la

Re: noimd don't works under linux

2006-11-05 Thread A.J.Mechelynck
Eddy Zhao wrote: [...] Hi Tony, I only using IM in gvim. So I only want IM work correctly in gvim. gvim is with +xim support. Thanks Eddy Well, I suppose that explains why you can't set 'imd' in Console Vim. Best regards, Tony.

Re: generate a directory listing file with vim.

2006-11-06 Thread A.J.Mechelynck
victor NOAGBODJI wrote: Hi, How can I use Vim to generate the listing of a directory? The directory contains images. And a textfile, but I don't want to textfile. Only the images. The output would be in the textfile I was talking about. Each line would represent a path to an image. Do you thin

Re: ':Explore' higlight the results

2006-11-06 Thread A.J.Mechelynck
Gregory SACRE wrote: Hello Chip, I followed your procedure, but unfortunately, the behaviour of netrw surprised me. The installation went fine, no error messages. I tried the following command: :Explore **//STRING to find all the file containing the string STRING. The command just hanged t

Re: click buffer, go to the buffer place

2006-11-06 Thread A.J.Mechelynck
Akbar wrote: Hi, in my single session, I have many tabs opened, and in one tabs, I often open three windows or more. That means I have many many buffers. Sometimes I want to edit one buffer that I don't know where it is ( in where tab, or in where window ), so I just have to search by iterating f

Re: ':Explore' higlight the results

2006-11-06 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: A.J.Mechelynck ([EMAIL PROTECTED]) wrote: Gregory SACRE wrote: Hello Chip, I followed your procedure, but unfortunately, the behaviour of netrw surprised me. The installation went fine, no error messages. I tried the following command: :Explore **//STRING to find

Re: save the echoed contents command line ?

2006-11-06 Thread A.J.Mechelynck
Yakov Lerner wrote: Is it possible to obtain the contents of the bottom line (which can be result of previous "echo") in the script ? I would like, before making an action that erases the bottom line, to save its contents then restore it ? Thanks Yakov It is possible to intercept (in a regist

Re: noimd don't works under linux

2006-11-06 Thread A.J.Mechelynck
Eddy Zhao wrote: [...] Though status line shows imd is being reset while change from nomal mode to insert mode, but IM is not enabled (in other words, scim input window is not popup when return back to insert mode). That's the problem I encountered. Anything else I can try to debug to nail down t

Re: let s:F=function('foo#func_in_this_file') ?

2006-11-06 Thread A.J.Mechelynck
Marc Weber wrote: Imagine having the files: -- >8 -- >8 autoload/test.vim - >8 -- >8 -- >8 function test#DoTest(a) if a == 1 call s:F1() else call s:F2() endif endfunction function test#Test() echo "test#Te

Re: BufEnter Oddity After TabEnter

2006-11-06 Thread A.J.Mechelynck
Bill McCarthy wrote: On Sun 5-Nov-06 3:21am -0600, Yakov Lerner wrote: On 11/5/06, Bill McCarthy <[EMAIL PROTECTED]> wrote: I am having a problem trying to echo a message triggered by an autocmd on BufEnter when entering a tab page. Try this: :au BufEnter foo echom "Entered foo" First

Re: syn sync fromstart in modeline

2006-11-07 Thread A.J.Mechelynck
Alan Isaac wrote: How can I put the equivalent of :syn sync fromstart in a modeline for a file? Thank you, Alan Isaac You can't. Modelines only allow setting options (and not all of them). ":syn sync fromstart" is not a ":setlocal" statement. Best regards, Tony.

Re: command line completion on several lines

2006-11-07 Thread A.J.Mechelynck
koxinga wrote: koxinga wrote: Hello, [...] It won't work with multibyte. [...] Any feedback appreciated, of course ... koxinga No feedback at all ? Not even a nice "you dumbass, it doesn't even compile" or a "this is not a feature, this is a bug, moron" ? koxinga Anything doesn't w

Re: Creating a custom browser window.

2006-11-08 Thread A.J.Mechelynck
Alan Young wrote: Yegappan Lakshmanan wrote: If you need a sample code that uses the tree control, you can use the attached file explorer plugin. Place this file in the ~/.vim/plugin directory. To open the file explorer, use the following command: :FileTreeOpen [dirname] Where do I put t

Re: Running own script when editing MATLAB files

2006-11-09 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: [...] > I don't know if there's any difference between ftplugin directory and > syntax directory. [...] Syntax scripts are for syntax highlighting: setting various colors in the display of the file, and defining the keywords, regions, etc., which delimit those colours. Als

Re: Running own script when editing MATLAB files

2006-11-09 Thread A.J.Mechelynck
Evan Klitzke wrote: [EMAIL PROTECTED] <[EMAIL PROTECTED]> on 2006-11-09 at 03:30 PM writ: Save these commands into your $VIM\vimfiles\after\syntax\matlab.vim (Windows platform) or ~/.vim/after/syntax/matlab.vim I have wondered how to do this as well... is there an easy way to incorporate these

Re: Running own script when editing MATLAB files

2006-11-09 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2006-11-09 17:17:05: Filetype plugins are sourced if ":filetype plugin on" has been used. Indent plugins are sourced if ":filetype indent on" has been used. Syntax scripts are run if both "

Re: grep.vim support

2006-11-09 Thread A.J.Mechelynck
Neil Gabriel wrote: All, I am relatively new to vim and gvim and I am trying to install the grep plugin. So far, everything appears installed properly (i have access to Grep, Rgrep, etc ... from within gvim). Also, I am running WinXP with Cygwin. Reading through the plugin's install notes, i

Re: grep.vim support

2006-11-09 Thread A.J.Mechelynck
Neil Gabriel wrote: I did in fact look at that. Reading through the "internal" grep however, I do not see a way of running a recursive search (i could be missing it). Thanks If you mean recursing into directories, see the ** wildcard. I don't remember where in the help it's mentioned but tha

Re: how to map ctrl+[ to tag pop?

2006-11-09 Thread A.J.Mechelynck
frank wang wrote: I am new to the list. Could anyone help me to map ctrl+[ to tag pop command? Vim default is ctrl+t. Also, how can I found which keys have been used by vim? Thanks Frank Beware! In Vim (or in any program which uses "cooked" keyboard input), and Ctrl-[ are indistinguishable

Re: grep.vim support

2006-11-09 Thread A.J.Mechelynck
Neil Gabriel wrote: On 11/9/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > Neil Gabriel wrote: > > I did in fact look at that. Reading through the "internal" grep > > however, I do not see a way of running a recursive search (i could be > > missing it). >

Re: grep.vim support

2006-11-09 Thread A.J.Mechelynck
Peter Hodge wrote: --- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: Neil Gabriel wrote: On 11/9/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Neil Gabriel wrote: I did in fact look at that. Reading through the "internal" grep however, I do not see a way

Re: Ctrl-D delete mapping

2006-11-10 Thread A.J.Mechelynck
Jürgen Krämer wrote: Hi, Allan Kelly wrote: Hello, I'd like Ctrl-D to delete a character in insert mode. This does not work (Ctrl-D continues to do the page down thing): that might be because you were not in insert mode. "the page down thing" is VIM's behaviour when pressing Ctrl-D in normal

Re: Recall home drive

2006-11-10 Thread A.J.Mechelynck
Eric Leenman wrote: Hi How do I recall my home drive? When I now tell g:backup_directory="\\temp\\vim_backup" it creates the drive on U: and I would expect C: Rgds, Eric How do you define "the home drive"? If it's the first hard drive, then it's C: If it's the drive containing the Vim distr

Re: set backupext dynamicly

2006-11-10 Thread A.J.Mechelynck
Eric Leenman wrote: I've tried it but then I get the message : Error E510 'Can't backup file (add! to override) I have a clean gvim70.exe downloaded today. I've added two lines to my _vimrc, see below for the complete file. Do I need to do something with backup and write backup? [start _vimrc

Re: Getting matchit to work on html

2006-11-10 Thread A.J.Mechelynck
Doug Carter wrote: Hi all, I changed distros and now I can't get matchit to work on html files. I've spent hours on the net and in help files and have had no success. Can someone send me some example .vimrc settings to get this working? I'm currently running vim 6.3 on CentOS. TIA, Doug

Re: "vim" has quit unexpectedly

2006-11-11 Thread A.J.Mechelynck
Marc Weber wrote: How would you try to track this error down? Causing vimscript code: echo "tag_text is" echo tag_text echo "if" echo len(tag_text) if len(tag_text)>0 echo "in if" output: tag_text is [] if

Re: What can cause long load/search

2006-11-12 Thread A.J.Mechelynck
Donald Axel wrote: [...] So far we can conclude that Gvim depends on some more or less nice libraries and their modules. My prime suspect is still "alsa", why do things try to load "alsa"? The answer must be that it is caused by some monolithic GUI-lib. gvim can be compiled from many differe

Re: regular expression with character '@'

2006-11-12 Thread A.J.Mechelynck
Rui Gonçalves wrote: if i use the character '@' in a regular expression, i need use the '\' before? i try do [EMAIL PROTECTED] and [EMAIL PROTECTED] but didn't work 1. Don't escape the @ if you want to match a @ 2. Do escape the + if you want to match "one or more, as many as possible".

Re: Inserting date/text

2006-11-14 Thread A.J.Mechelynck
David Woodfall wrote: I would like to make a command that would insert at cursor todays date, and also a command to insert some custom text. In the help file it shows how to make a keybind to do this but I would rather use a command - eg :date Can this be done? Thanks (untested; requires str

Re: When {rhs} contains a space

2006-11-14 Thread A.J.Mechelynck
Ying Bian wrote: Vimmers, I tried to do "nmap s :set spell!" to use "s" in normal mode to toggle spell checker. If I run this in the interactive command line, it is ok. But when I put this in my .vimrc, it has a tricky problem: Although it seems to function correctly by hitting "s", every time

Re: When {rhs} contains a space

2006-11-14 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: A.J.Mechelynck wrote: Ying Bian wrote: Vimmers, I tried to do "nmap s :set spell!" to use "s" in normal mode to toggle spell checker. If I run this in the interactive command line, it is ok. But when I put this in my .vimrc, it has a tric

Re: yank and put 'over' instead of 'insert'

2006-11-14 Thread A.J.Mechelynck
Troy Piggins wrote: I use 'R' replace mode when doing, for example, ascii art etc because it allows me to change characters without affecting the layout of the rest of the window/page. But if I want to yank a section using visual or visual block, is there a way to put 'p' that block in without a

Re: vim7: why does patchmode create 0-byte files?

2006-11-15 Thread A.J.Mechelynck
David Thompson wrote: Hi, I'm using 'patchmode=.orig' in my ~/.vimrc, when I edit a new file such as xxx that does not exist, then save that file, I also get a 0-byte file called xxx.orig. This 0-byte file seems rather pointless. To recreate, vim -u NONE xxx :set patchmode=.orig i

How to synchronize diffed buffers?

2006-11-15 Thread A.J.Mechelynck
After :new file1 :vert diffsplit file2 followed by edits, Vim tries to keep track of the edits (changing the diff highlights), but it sometimes does it in a less than ideal manner, especially if there are repeats. Is there a way to force a re-diff, other than restarting from s

Re: How to synchronize diffed buffers?

2006-11-15 Thread A.J.Mechelynck
Charles E. Campbell, Jr. wrote: A.J.Mechelynck wrote: After :new file1 :vert diffsplit file2 followed by edits, Vim tries to keep track of the edits (changing the diff highlights), but it sometimes does it in a less than ideal manner, especially if there are repeats. Is there a way

Re: How to synchronize diffed buffers?

2006-11-15 Thread A.J.Mechelynck
Tim Chase wrote: :new file1 :vert diffsplit file2 followed by edits, Vim tries to keep track of the edits (changing the diff highlights), but it sometimes does it in a less than ideal manner, especially if there are repeats. Is there a way to force a re-diff, other than restarting fro

Re: search and replace multiple lines

2006-11-15 Thread A.J.Mechelynck
mark wrote: I want too change the order of three lines globally (there are thousands of entries that need reordering) and don't seem to be able to get my head around how to do it with vi. I want to change the order off these three 1=red 2=blue 3=orange into 3=orange 2=blue 1=red Suggestion

Re: How to synchronize diffed buffers?

2006-11-15 Thread A.J.Mechelynck
Tim Chase wrote: Does :diffupdate do what you want? Yes, I should have R the FM, and you and Dr. Chip are my saviours! diffupdate is similar to ^L for refreshing the screen for me. It's a minor irritation that it would actually be necessary, but I'm vastly more irritated by programs that *n

Re: How to synchronize diffed buffers?

2006-11-15 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Tim Chase wrote: Does :diffupdate do what you want? Yes, I should have R the FM, and you and Dr. Chip are my saviours! diffupdate is similar to ^L for refreshing the screen for me. It's a minor irritation that it would actually be necessary, but I'm va

Re: Trouble with syntax highlighting in gvim70

2006-11-15 Thread A.J.Mechelynck
Yegappan Lakshmanan wrote: Hi, On 11/15/06, Dudley Fox <[EMAIL PROTECTED]> wrote: Yegappan, It is actually _vimrc. I just mistyped it. The output of :scriptnames is listed below. It looks like the _vimrc is the first thing loaded, and it does explain the problem I am seeing though. Did this ch

Re: Commenting out TeX-text line by line in V-mode

2006-11-15 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, a question more driven by curiosity than by the need to change anything. Suppose you have the following TeX-text: bla blabla foo bar gnu gnats bla blabla foo bar gnu gnats bla blabla foo bar gnu gnats bla blabla foo bar gnu gnats b

Re: Syntax highlightight

2006-11-15 Thread A.J.Mechelynck
Sean Lerner wrote: Hello, Syntax highlighting with Vim 7 is working for some of my files, but for others it's not. They're all for lighttpd config files, but it only works for one of those files. Why is this? My situation: -rw-r--r-- 1 root root 2920 Nov 15 19:33 lighttpd.conf -rw-r--r-- 1 r

Re: using :ha under linux

2006-11-16 Thread A.J.Mechelynck
Marlin Unruh wrote: Hi, In Linux how do I configure Vim to print a hard copy? Please include syntax example. I am running Ubuntu and the printer is named Laserjet-4 on LPT #1. I located the info once and did this but now it eludes me. Thank You! What Windows calls LPT1 is usually called so

Re: Japanese interface for vim7 in freebsd 6.1

2006-11-17 Thread A.J.Mechelynck
vuthecuong wrote: Does anyone is using vim7 on freebsd? When install vim7 from ports, which install option will make vim7 interface become japanese? Thanks in advanced Vim (compiled with +multi_byte +multi_lang etc.) should start up in Japanese with no particular user intervention if the sys

Re: Commenting out TeX-text line by line in V-mode

2006-11-17 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Meino Christian Cramer wrote: From: Charles E Campbell Jr <[EMAIL PROTECTED]> Subject: Re: Commenting out TeX-text line by line in V-mode Date: Thu, 16 Nov 2006 13:34:16 -0500 How about :[range]g/\S/s/^/%/ which means: over the selected range (which may be th

Re: Commenting out TeX-text line by line in V-mode

2006-11-17 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: "A.J.Mechelynck" <[EMAIL PROTECTED]> [...] It should be possible (though less obvious) to do it with only a substitute. Let's try: :'<,'>s/^.*\S.*$/# \0 i.e. prepend a hash sign and a space wherever we find sta

Re: splits count

2006-11-17 Thread A.J.Mechelynck
chak wrote: How can i limit maximum splits number? You can limit the minimum height of a window: a split will fail if it's not possible to keep all windows at least 'winminheight' lines tall not including the status line. How can i enable lines numeration by default? :set number

Re: using :ha under linux

2006-11-17 Thread A.J.Mechelynck
Marlin Unruh wrote: [...] Benji, :verbose set printexpr? give the following, all in one line. printexpr=system('lpr' . (&printdevice == '' ? '' : ' -p' . &printdevice) . ' ' . v:fname_in) . delete(v:fname_in + v:shell_error Is this any help? There is an unmatched parenthesis near the end

Re: Japanese interface for vim7 in freebsd 6.1

2006-11-17 Thread A.J.Mechelynck
Yukihiro Nakadaira wrote: It seems that ports does not install vim-7.0-lang.tar.gz and does not have option for it. So message translation (gettext) may not work. In that case you (VuTheCuong) may have to compile Vim for yourself. Since freeBSD is (IIUC) a Unix-like operating system, my Unix

Re: splits count

2006-11-18 Thread A.J.Mechelynck
chak wrote: A.J.Mechelynck wrote: How can i enable lines numeration by default? :set number " in your vimrc set nu is in gvimrc :( here screenshot: http://img174.imageshack.us/img174/1125/shotza0.png if vim is starting without RExplorer - all ok, rows numbers is en

Re: splits count

2006-11-18 Thread A.J.Mechelynck
chak wrote: :verbose set number? vim's answer: nonumber o_O and in RExplore.vim nu[mber] is not present :/ 'number' is a window-local option. It matters which window is active when you ask that. Unless you set 'nonumber' yourself from the keyboard, the reply to ":verbose set number?" sho

Re: Indenting problem

2006-11-18 Thread A.J.Mechelynck
Amir Hossein Hormati wrote: Hello, I have trouble with vim 7.0 indenting. I have the following settings in my vimrc: set nocompatible filetype plugin indent on syntax on colorscheme transparent autocmd FileType c,cpp,slang set cindent set cindent set softtabstop=2 set shiftwidth=2

Re: Indenting problem

2006-11-18 Thread A.J.Mechelynck
Amir Hossein Hormati wrote: A.J.Mechelynck wrote: Amir Hossein Hormati wrote: Hello, I have trouble with vim 7.0 indenting. I have the following settings in my vimrc: set nocompatible filetype plugin indent on syntax on colorscheme transparent autocmd FileType c,cpp,slang set

Re: dozens of bounce emails from [EMAIL PROTECTED]

2006-11-19 Thread A.J.Mechelynck
Yakov Lerner wrote: What are these dozens of bounce emails from [EMAIL PROTECTED] ? Is it just me ? I got suddenly not one but 18 of them, and it's not first time. Yakov Mail Delivery System <[EMAIL PROTECTED]> to [EMAIL PROTECTED] This is the Postfix program at host hastur.p.wielders

Re: Indenting problem

2006-11-19 Thread A.J.Mechelynck
Amir Hossein Hormati wrote: [...] I think I figured it out. One of my plugins was messing with the cindent. I removed my vim plugins one by one. After removing "tex indenting" plugin, everything works perfectly. This is strange! Thanks Amir A plugin should always use ":setlocal", never ":set

Re: word delimiters rules independent of file type

2006-11-21 Thread A.J.Mechelynck
David I McCooey wrote: Hi all, When editing a file that has #!/bin/bash on the first line, indicating a bash shell script, vim appears to recognize a different set of word-delimiter characters for the purposes of operations like 'cw' (change word) or '*' (search for word). For example, the peri

Re: How to override $HOME on Windows NT/XP?

2006-11-21 Thread A.J.Mechelynck
Paul Stone wrote: I know this is a bizarre request. I would like to prevent Vim from going to my Home directory. The reason is that my IT department has mapped my home directory to a laggy network drive with a login script. I can't override the Windows environment variables which set up the hom

Re: How to override $HOME on Windows NT/XP?

2006-11-21 Thread A.J.Mechelynck
Paul Stone wrote: Just to be clear, my User Profiles directory is in the usual spot on the C: drive. It's just the HOMEDRIVE, HOMEDIR, and HOMESHARE environment variables that are pointing to the network. Paul Stone Then it's even easier than what I suggested: if everyone can accept to use

Re: How to override $HOME on Windows NT/XP?

2006-11-21 Thread A.J.Mechelynck
ion. Beware though, that the method below changes $HOME within Vim for all users (all login names) on your system. Best regards, Tony. On 11/21/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Paul Stone wrote: > Just to be clear, my User Profiles directory is in the usual spot

Re: word delimiters rules independent of file type

2006-11-21 Thread A.J.Mechelynck
Dave McCooey wrote: Thanks for the solution Tony. Is there any string (somewhat like "fileformat" or "fileformats") that controls the definition of "a word", overriding any ftlugin-derived definition? -Dave "What is a word" is defined by 'iskeyword' (a buffer-local option); but any script (i

Re: word delimiters rules independent of file type

2006-11-21 Thread A.J.Mechelynck
Dave McCooey wrote: I tried setting 'iskeyword' in my _vimrc file, but, as you pointed out, it was overridden by a script (ftplugin probably). Is there any way, besides manually, to assign a value to an option after the scripts have run? -Dave Yes, as I mentioned in an earlier post, by writin

Re: word delimiters rules independent of file type

2006-11-21 Thread A.J.Mechelynck
Dave McCooey wrote: Well, I was referring to a way without writing a script. But even so, writing an after-script in this way really amounts to writing dozens of them, one for each ftplugin that might override 'iskeyword', unless there is a way to write a script that always runs last, at every Fi

Re: Help - install problem can not run gvim (E233)

2006-11-21 Thread A.J.Mechelynck
Tony Young wrote: Hello I am trying to see if I can get vim/gvim to work with our work Sun box. I Installed and used instructions from http://www.vim.org/ http://www.vim.org/download.php#unix Downloaded the runtime and source files together: vim-##.tar.bz2 i.e. I used: [ 657

Re: How to override $HOME on Windows NT/XP?

2006-11-22 Thread A.J.Mechelynck
Wolfgang Schmidt wrote: Hi, to me it's no clear what you mean by "prevent Vim from going to my Home directory". I'm using Vim on windows, too, but he never asked me for a HOME directory. Instead, the _vimrc file is kept in $VIMRUNTIME, which by default on XP is C:\Programme\Vim\vim70. Ther

Re: tar all files in buffer preserving path

2006-11-22 Thread A.J.Mechelynck
Eric Smith wrote: I want to make a tar file that includes the full pathname. When I go :bufdo ! tar -vrf archive_with_full_path.tar % The `%' does not expand the full path so I do not get the path information into the tar file. How could I best achieve what I want? Try (untested) bu

Re: tar all files in buffer preserving path

2006-11-22 Thread A.J.Mechelynck
Eric Smith wrote: Yeah, thanks it works like this too: bufdo !tar -vrf /path/to/archive.tar %:p How do I avoid the "Press ENTER or type command to continue" prompt after each file is processed? use ":set nomore" before the bufdo command, and ":set more" if you want to restore normal behaviou

Re: Dangerous keybindings

2006-11-22 Thread A.J.Mechelynck
DervishD wrote: Hi all :)) I'm not exactly new to this list, I was subscribed back in 2002, when I tried to migrate from Joe to Vim. I finally didn't do it for some reasons, and I finally forgot about it. The fact is that I've decided to go Vim once and for all, because Joe is givin

Re: Execute command for current "block" of code

2006-11-22 Thread A.J.Mechelynck
Kevin Old wrote: Hello everyone, I have been thinking about implementing this little feature to help clean up my code. Here's the scoop. I'm a Perl programmer and I use a templating module called HTML::Mason which allows perl code within certain "tags". Here's an example of the code: <% $tmp

Re: Execute command for current "block" of code

2006-11-22 Thread A.J.Mechelynck
Christian Ebert wrote: * Kevin Old on Wednesday, November 22, 2006 at 12:57:27 -0500: Actually, I didn't know that highlighting visually and hitting the : will give me the range. That's half the battle for me on this. I've tried putting that into a mapping like this: map vti :'<,'> !perltidy

Re: why CTRL-W = don't work after :cope command ?

2006-11-23 Thread A.J.Mechelynck
KLEIN Stéphane wrote: Hello, why CTRL-W = don't work after :cope command ? Thanks for your help, Stephane The quickfix window is opened with 'winfixheight' set ON: *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* 'winfixheight' 'wfh'boolean (default off)

Re: :set guifont problem: width between characters

2006-11-23 Thread A.J.Mechelynck
Régis B. wrote: Hello there, I use gVim with the GTK2+ GUI, under KUbuntu. Here is my problem: the default font is correct, as you can see: http://www.nabble.com/file/4262/gVim_correct.png But as soon as I try to set the font, with :set guifont=Sans \9 for instance, I get a lot of space betwe

Re: add yanked line to already yanked lines

2006-11-23 Thread A.J.Mechelynck
Daniel Nogradi wrote: Hi vimmers! I often find myself in need of copying (yanking) non-consecutive multiple lines so that I can paste them somewhere else in a consecutive way. Several lines are scattered around the file and would like to collect them kind of. At the moment I go to to first line

Re: Search and delete

2006-11-24 Thread A.J.Mechelynck
Krzysztof MaJ wrote: VitaM, how to search in the file based on some regex and when it's matched delete the whole line automatically? --Pozdrawiam - Krzysztof Maj  I'm a Mac now, are you PC? Oh, dear... ;-) :1,$g/pattern/d see :help :g :help :d Best regards, Tony.

Re: Search and delete

2006-11-24 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Krzysztof MaJ wrote: VitaM, how to search in the file based on some regex and when it's matched delete the whole line automatically? --Pozdrawiam - Krzysztof Maj  I'm a Mac now, are you PC? Oh, dear... ;-) :1,$g/pattern/d see :help :g :help

Re: ViM7 spellchecking

2006-11-24 Thread A.J.Mechelynck
Krzysztof MaJ wrote: On 2006-11-24, at 13:18, Krzysztof Maj wrote: Hugh Sasse <[EMAIL PROTECTED]> napisał(a): On Fri, 24 Nov 2006, Krzysztof Maj wrote: Hello everybody, I've found that VIM7 has a feature called spellchecking. Great, because it could be very usefull. But my question is how d

Re: ViM7 spellchecking

2006-11-24 Thread A.J.Mechelynck
Krzysztof MaJ wrote: [...] Well I've get VIM from the vim.org site for windows and from macvim.org for Mac platform. But I downloaded only a VIM package without any additional sources - lang sources as you said. On Mac this is a DMG package, so when I open a content of the package I didn't find

Re: gVim font error (Fixedsys) on Windows

2006-11-25 Thread A.J.Mechelynck
Steve Hall wrote: Has anyone here experienced font errors in gVim lately related to the system font "Fixedsys"? I have three separate users with relatively new Windows installations that get an error with: set background=light E235: Unknown font: Fixedsys:h9:cDEFAULT I see this font name h

Re: Key timeouts

2006-11-27 Thread A.J.Mechelynck
DervishD wrote: Hi all :)) The default timeout setting makes me working a bit slow, but disabling timeout is a problem because I have to hit twice. So I've decided to drastically decrease the timeoutlen parameter, so I can edit fast and only have to hit once most of the time. I ha

Re: Key timeouts

2006-11-27 Thread A.J.Mechelynck
DervishD wrote: [...] I'm pretty sure that my keyboard driver will feed keys faster than 1 per 100 milliseconds (that's my ttimeoutlen setting right now), and although I'm a fast typer, probably 100 will be too fast for me. [...] Then ttimeoutlen=100 is "right" for you: it should be slower

Re: an uncomfortable thing

2006-11-27 Thread A.J.Mechelynck
Ronald wrote: I am new. Usually when I am in command mode (I mean when I pressed ESC), the cursor shape becomes a block, it is well that when I press `i' or `a' the cursor will become a bar at the left or right side of the block. But here is a problem, when I want to enter something like: (test)

Re: an uncomfortable thing

2006-11-27 Thread A.J.Mechelynck
Swaroop C H wrote: On 11/28/06, Ronald <[EMAIL PROTECTED]> wrote: I will enter the parentheses first, then I need simple key stokes to back one letter like: control oh or control oi Use Ctrl-H (:help CTRL-H) ? No: After entering the parentheses, we're in Insert mode, and Ctrl-H (i.e., back

Re: change case on multiple words

2006-11-27 Thread A.J.Mechelynck
Brian Anderson wrote: Hello, I have a text with many quotations, that I want to change the case. Currently the text of the quote is in all caps. I want to change it to capitalize only the first letter of each word. The text I want to change can be either a single word, multiple words on a sin

Re: Encryption issue with Gvim 7 on Windows XP!

2006-11-28 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi, folks! I am using GVim version 7.0 on Microsoft Windows XP box. I have a question regarding Vim capability to encrypt a text file (the :X command). These are steps how I create the encrypted text file: - I fire up Vim ; - Type :X and enter an encryption key twice ;

Re: Encryption issue with Gvim 7 on Windows XP!

2006-11-28 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Here are the :version result on Windows: VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:23:43) MS-Windows 32 bit GUI version with OLE support Compiled by [EMAIL PROTECTED] That would be 7.0.000. The current version is 7.0.186, distributed on or shortly bef

Re: change case on multiple words

2006-11-28 Thread A.J.Mechelynck
zzapper wrote: [...] Tony is \0 always same as & ? yes, if 'magic' is TRUE, see ":help sub-replace-special". If ever you set 'nomagic' (not recommended), then & will replace with an & character while \0 still means the whole matched pattern. Best regards, Tony.

Re: Can't get imap to work in Vim 7

2006-11-28 Thread A.J.Mechelynck
Sean Lerner wrote: Hello, I'd like to toggle line number on and off in Vim 7. I've set: map :set invnumber imap :set invnumber li [...] :imap :set invnumber see ":help i_CTRL-O" Best regards, Tony.

Re: change case on multiple words

2006-11-29 Thread A.J.Mechelynck
zzapper wrote: [...] The other advantage I suppose in using \0 is that it makes your regexp more visible and fits in better with the memory syntax of \1..\9 Indeed, I remember the meaning of \0 more easily than that of & -- but YMMV. Best regards, Tony.

Re: Is it possible to do imaps in Insert (paste) mode?

2006-11-29 Thread A.J.Mechelynck
Sean Lerner wrote: Hi Tony and All, Actually, it turns out the reason it's not working properly is because I have :set paste turned on by default (which I need, as I'm always pasting from windows aps into Vim). And when :set paste is turned on, it literally types out whatever function key was

Re: Disabling *system-wide* plugins

2006-11-29 Thread A.J.Mechelynck
DervishD wrote: Hi all :) I want to be able to NOT load the plugins in my system-wide runtime directory, and instead loading my own set of plugins, and only those. So far, I know that "set noloadplugins" will do the job, partially. This won't load the default plugins in the $VIMRUNTIME/p

Re: Calendar ?

2006-11-29 Thread A.J.Mechelynck
Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from doing that? Robert If 'statusline' is nonempty, your custom status line will show on all status lines, for all wi

Re: How to avoid highlighting identifiers as misspelt words?

2006-11-29 Thread A.J.Mechelynck
Vadim Zeitlin wrote: On Wed, 29 Nov 2006 09:07:40 +0800 [EMAIL PROTECTED] wrote: E.g. if I have // function foo() does whatever it does ~~~ void foo() { ... } Generally, it is not a good practice to use // or /* */ to comment out codes. (a better approach m

Re: Problem with VCSCommand

2006-11-29 Thread A.J.Mechelynck
Joakim Olsson wrote: True. Sorry for being a bit brief. :-D None of the VCS-commands for CVS seems to work. The actual command I tried for the output below was from the VCSVimDiff-command which diffs the current buffer with the latest revision from the CVS-tree (or a specific revision that is su

Re: Calendar ?

2006-11-29 Thread A.J.Mechelynck
Bill McCarthy wrote: On Wed 29-Nov-06 11:40am -0600, Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from doing that? You can have a local status line for those windows.

Re: Calendar ?

2006-11-29 Thread A.J.Mechelynck
Bill McCarthy wrote: On Wed 29-Nov-06 3:19pm -0600, you wrote: Bill McCarthy wrote: On Wed 29-Nov-06 11:40am -0600, Robert Hicks wrote: Usage question. I have a custom statusline. That statusline also shows up in the Calendar pane and in the diary pane. Is there a way I can restrict it from

Re: if "\xe4"=="\xe4" failes,why?

2006-11-29 Thread A.J.Mechelynck
mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if "\xe4"=="\xe4" fails. I test it using: if "\xe4"=="\xe4" echo "test" endif but I got nothing output, why ? I confirm this: :e

Re: if "\xe4"=="\xe4" failes,why?

2006-11-29 Thread A.J.Mechelynck
A.J.Mechelynck wrote: mbbill wrote: I met a very strange problem recently, that is when I set the following options: set encoding=utf-8 set ignorecase then the expression: if "\xe4"=="\xe4" fails. I test it using: if "\xe4"=="\xe4" echo "test&

Re: Pasting blockwise selections

2006-11-29 Thread A.J.Mechelynck
Chris Smith wrote: Hi Everyone, I'm new on the mailing list so please let me know if there's conventions I should be following or something that I'm not doing when posting here. My question is in regards to pasting chunks of text that have been copied from blockwise selections in gvim. In gvim

Re: if "\xe4"=="\xe4" failes,why?

2006-11-29 Thread A.J.Mechelynck
mbbill wrote: Hello A.J.Mechelynck, Thursday, November 30, 2006, 1:15:14 PM, you wrote: ?A.J.Mechelynck wrote: ?mbbill wrote: ?I met a very strange problem recently, that is ?when I set the following options: ?set encoding=utf-8 ?set ignorecase ?then the expression: if "\xe4"==&q

Re: if "\xe4"=="\xe4" failes,why?

2006-11-30 Thread A.J.Mechelynck
mbbill wrote: [...] Some minutes before,when I test the "bug" somewhere else, after I set "ignorecase" and "encoding" to utf-8 ,nothing went wrong. The result of the expression " echo ("\xe4"=="\xe4") " was 1 Before that,I have deleted all temp files and config files then reinstalled the VIM,

Re: I look for make all windows (almost) equally high only. I would not equally wide.

2006-11-30 Thread A.J.Mechelynck
KLEIN Stéphane wrote: Hello, I look for make all windows (almost) equally high only. I would not equally wide. There is this feature ? I would not CTRL-W_= because this command make equally high and wide. Thanks for your help Stephane :set equalalways eadirection=ver :split

<    5   6   7   8   9   10   11   12   13   14   >