Re: (Re.)mapping of the so called Meta- (Alt-) keys

2006-09-15 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, I tried to remap several Alt-/Meta- key sequences to other and to commands. Sometimes it works, sometimes it does not. I see no logic behind this behaviour. It seems, that I miss certain informations hot to do this the right way. My terminal emits Meta-

Re: converted ?

2006-09-16 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, sometimes when saveing an original unix file (for example $HOME/.zshrc) vim informs me about that the file is being [converted]. A :set ff shows me, that it is really a unix-file and the converted-message appears every time when it is

Re: Use of afile

2006-09-16 Thread A.J.Mechelynck
Elliot Shank wrote: From what I understand from the help, you should be able to use afile anywhere in an autocmd to get the name of the file being dealt with. So why does this complain E121: Undefined variable: afile: autocmd BufNewFile *.pm echomsg 'Creating ' afile Obviously, I don't

Re: converted ?

2006-09-17 Thread A.J.Mechelynck
Yakov Lerner wrote: [...] I am interested to display message 'converted from [encoding] to [encoding]' because I occasionally also had unexpected 'converted' message. Is there autocommand that can show extended conversion message ? Yakov I'm not sure. I use the following (with the :set

Re: Auto-indent Comments

2006-09-17 Thread A.J.Mechelynck
Vigil wrote: For at least filetypes html, sh, and perl, whenever I start a line with '#', it moves it to the very beginning of the line, ignoring any indent. It doesn't do this with filetype=c. I don't know where this is set. I looked in cpoptions and even removed all my /plugin/'s, but

Re: Display of CJK characters in a utf-8 file on MacOS X / Vim 7

2006-09-17 Thread A.J.Mechelynck
Yongwei Wu wrote: On 9/16/06, Elliot Shank [EMAIL PROTECTED] wrote: [...] None of them contain the characters between U+FA70 and U+FAFF. Yes, I see. They are really new characters in Unicode 4.0, I think. *No* fonts I know have characters in this range. I doubt there is any. [...] Well, in

Re: E488 - Trailing characters

2006-09-17 Thread A.J.Mechelynck
Bill McCarthy wrote: Hello Vim List, I wrote a command to perform :helpgrep on just the distribution help files. My first pass was: command! -nargs=1 HG sil RTPtemp \ | exe 'helpg args' \ | sil RTPrestore RTPtemp and RTPrestore are commands taking no args (they are

Re: How pair g /g

2006-09-18 Thread A.J.Mechelynck
Peng Yu wrote: Hi, I'm writing some xml code in vim. In xml, there are some pair like g /g. Would you please let me know how to pair them as { and } such that I can us % to visit them? Thanks, Peng - Install and use the matchit plugin (e.g., add a file $VIM/vimfiles/plugin/matchit.vim with

Re: ole in eclipse

2006-09-18 Thread A.J.Mechelynck
[ text blocks reordered to reflect chronology ] Mark Palmer wrote: On 9/18/06, Manu Anand [EMAIL PROTECTED] wrote: On 9/18/06, Mark Palmer [EMAIL PROTECTED] wrote: On 9/9/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Mark Palmer wrote: Does any one know how to open vim (any version) from

Re: Text edit versus vi on some files

2006-09-18 Thread A.J.Mechelynck
Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18-Sep-06, at 11:56 AM, David Morel wrote: Brian McKee a écrit : file Localizable.strings Localizable.strings: Big-endian UTF-16 Unicode C program character data If I open that file in vim I get ??^@/[EMAIL PROTECTED]@

Re: arbirary regex separator for search ?

2006-09-19 Thread A.J.Mechelynck
Yakov Lerner wrote: :s/// allows any separator instead of '/' (like s@@@). (Non-/ separator is convenient when regex or replacement contains many '/', ... then you can avoid backslasing '/' in the regex or in replacement.) So far, so good. My question is, is there variant of :/ that allows

Re: Building Vim 7 with Python

2006-09-19 Thread A.J.Mechelynck
Nick Deubert wrote: Hey Everyone, I am on a system where I don't want to affect the installed packages so first I successfully built and installed python 2.5 in a directory owned by me and kept the build directory around as well. Next I put the python bin install directory on my PATH so that it

Re: Project specific keywords?

2006-09-20 Thread A.J.Mechelynck
Kamil Kisiel wrote: I would like to define keywords for syntax highlighting that are specific to a particular project. For example, when using some third-party API there are often frequently used keywords that I'd like to highlight when using that API. What's the best way to set this up with

Re: Project specific keywords?

2006-09-20 Thread A.J.Mechelynck
Kamil Kisiel wrote: On 9/21/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Kamil Kisiel wrote: I would like to define keywords for syntax highlighting that are specific to a particular project. For example, when using some third-party API there are often frequently used keywords that I'd like

Re: glued Cursor trick anyone ?

2006-09-21 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Tim Chase [EMAIL PROTECTED] Subject: Re: glued Cursor trick anyone ? Date: Thu, 21 Sep 2006 05:35:54 -0500 So nzz and Nzz is more what I want than to solder the cursor onto the screen forever and ever with set scrolloff=1000. Ah, by the way: The initial

Re: What is the key nameing of...

2006-09-21 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, I often have the problem to guess, how a certain keysequence is named by the syntax of the vim scripting language. Recently I tried to map Control-CursorUp but it simply does not work for me. Is there any function/script/hack/trick/* like Ctrl-v is for

Re: What is the key nameing of...

2006-09-21 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Hi Tony, thanks for your explanations ! :) Ctrl-v gives me the raw values (that is the binary representation) of the keycodes. But I wanted the way of name those keysequences when using in vim scripts displayed. Keep hacking! mcc Yes, that's what I

Re: Howto stop Thanks for flying Vim on Konsole Window Titlebar?

2006-09-21 Thread A.J.Mechelynck
Larry Alkoff wrote: Yakov Lerner wrote: On 9/21/06, Larry Alkoff [EMAIL PROTECTED] wrote: Whenever I run Vim, the statement Thanks for flying Vim - Shell - Console appears on the Konsole Window Titlebar (the blue one at the top). What is causing this and how can I stop it? :he 'title' :he

Re: Howto stop Thanks for flying Vim on Konsole Window Titlebar?

2006-09-21 Thread A.J.Mechelynck
Larry Alkoff wrote: Oh silly me. Now I understand. After some experimenting I still have some questions. 1. I'd like to have _only_ the title (or path/title if I must) in the titlebar and have the old title restored when I exit vim but I haven't yet figured out how to do that after trying

Re: ctrl-v after a o command

2006-09-21 Thread A.J.Mechelynck
lll wrote: Hello: I'm using VIM 7.0 in windows OS. Whenever I paste something using ctrl-v after typing o to insert on next line, the pasted string would not follow the indentation of the curser. It would paste the string from the beginning of the line. This is a new behavior compare to version

Re: Single-File Vim?

2006-09-22 Thread A.J.Mechelynck
Dmitriy Yamkovoy wrote: Thanks, guys, that helps. I guess if I really want it to be a single file, I could try a self-extracting zip file. I'll tell you how that goes. -Dmitriy Don't reinvent the wheel: Steve Hall compiles, and distributes on SourceForge, self-extracting installers

Re: Single-File Vim?

2006-09-22 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want something I can keep online or on a USB key and just copy to the desktop of any

Re: Single-File Vim?

2006-09-22 Thread A.J.Mechelynck
Mark Woodward wrote: [...] so would it be possible to have vim on a usb key without modifying environment variables? What I wouldn't give to be able to use vim at work! I've asked and they've told me to use notepad They've got no idea! or assume I don't. They may not be too far from the mark

Re: Single-File Vim?

2006-09-22 Thread A.J.Mechelynck
Yakov Lerner wrote: [...] Even this is easily fixable: There is some .bat script in vimruntime, which, if you run it, will register the explorer integration in the new place. I forgot the name of the script, but just several weeks ago on this list there was a thread about it. Yakov it's not

Re: Single-File Vim?

2006-09-22 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Sat, 23 Sep 2006 at 1:46am, A.J.Mechelynck wrote: Hari Krishna Dara wrote: On Fri, 22 Sep 2006 at 4:05pm, Dmitriy Yamkovoy wrote: Hi all, Is there a binary compiled for Windows which allows me to run Vim without any of the runtime files? Long story short, I want

Re: copy paste file names from windows explorer

2006-09-22 Thread A.J.Mechelynck
Hari Krishna Dara wrote: On Sat, 23 Sep 2006 at 12:49am, Yakov Lerner wrote: On 9/23/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I am wondering if it is possible to copy a file in the windows explorer (MS windows) and then access the filename(s) from vim/gvim. I know there are workarounds

Re: latin1 words in an utf-8 file

2006-09-23 Thread A.J.Mechelynck
Christian Ebert wrote: Hello, Is it possible to have eg. iso-8859-1 encoded words/passages in an otherwise utf-8 encoded file? I mean, w/o automatic conversion, and I don't need the iso passages displayed in a readable way, but so I can still write the file in utf-8 w/o changing the invalid

Re: latin1 words in an utf-8 file

2006-09-23 Thread A.J.Mechelynck
Christian Ebert wrote: Hi Tony, * A.J.Mechelynck on Saturday, September 23, 2006 at 09:57:40 +0200: Christian Ebert wrote: Is it possible to have eg. iso-8859-1 encoded words/passages in an otherwise utf-8 encoded file? I mean, w/o automatic without

Re: latin1 words in an utf-8 file

2006-09-24 Thread A.J.Mechelynck
Christian Ebert wrote: [...] My terminal font has the necessary glyphs as well. That's not the problem. I can read your homepage fine with w3m console text browser. My terminal displays utf just fine. The following: #v+ Vögel - utf-8 Vögel - latin1 #v- *only* happens when I insert

Re: To be a keycode or not to be a keycode - that is the question!

2006-09-24 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/24/06, Meino Christian Cramer [EMAIL PROTECTED] wrot Hi, VimTip 979 suggests to do the following mapping: nmap Space / nmap C-Space ? . I wanted to try that and wrote the sequence into my .vimrc. The first mapping works nice, but the second doesn

Re: vim and java source code browsing

2006-09-24 Thread A.J.Mechelynck
Khubaib wrote: Hello, I wanted to know how can I efficiently browse java source code in VIM? That is to say that I should be able to jump to class and methods definition etc. I tried using ctags, but could not use it to produce tags for java source. The code is distributed across multiple

Re: vim and java source code browsing

2006-09-24 Thread A.J.Mechelynck
for only classes, interfaces and methods, java files only, in the current directory and below, sort not ignoring case ctags -R --languages=java --java-kinds=cim etc. - Original Message From: A.J.Mechelynck [EMAIL PROTECTED] To: Khubaib [EMAIL PROTECTED] Cc: vim@vim.org Sent: Sunday

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese text. I failed to do that. The problem is that if the

Re: Anyway to do spell check only for selected charset?

2006-09-25 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/25/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello everyone. The spell-check in Vim7 seems wonderful, several weeks ago I've been challenged to do spellcheck for files which contain both English and Chinese

Re: make some commands local

2006-09-25 Thread A.J.Mechelynck
Daniel Nogradi wrote: Hi vimmers, I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a sense that they should only effect the window in which they are issued? I sometimes have several files open

Re: make some commands local

2006-09-25 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/25/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 9/25/06, Daniel Nogradi [EMAIL PROTECTED] wrote: I guess it's a simple thing but couldn't find a definite answer yet. Is there a way to make commands such as syn off set foldmethod=expr local in a

Re: Turning abbreviations on and off

2006-09-25 Thread A.J.Mechelynck
Marius Roets wrote: Hi everybody, I have a in my plsql.vim filetype plugin a lot of abbreviations to the effect of : iabbrev buffer then THEN iabbrev buffer else ELSE ... etc. The idea is that some companies' coding standards expect me to use capitalized keywords. Personally I hate capitalized

Re: per-window search highlighting/colors

2006-09-26 Thread A.J.Mechelynck
Brian Lewis wrote: I'm editing a file and open a preview window. When I search with /, I'd like the main window to show highlighted matches, but for the preview window not to. nohlsearch seems to be global, so I can't :setl nohlsearch in the preview window to get what I want. Maybe there's a

Re: --enable-gui argument... no GUI support

2006-09-26 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Akbar wrote: I have the same problem. Installing vim 7.0 source in Suse 10.1, I always get --enable-gui argument... no GUI support I have xorg-x11-devel installed. I have installed libgnome-devel. No luck. Any idea? I suspect that you do the following after

Re: Getting the output of some commands into a buffer

2006-09-26 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, there are several commands like :map or :version which put a lot of valuable informations (at least for a newbie like me) into a temporary something (buffer seems the wrong nameing to me here). I would like to get the output

Re: Meta/Alt-confusion and no end

2006-09-26 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, As VIM insists on getting Meta/Alt-keys as binary codes and not as a ESC-key-combination I tried first to revert the rest of my environment, which handles ESC-key-combinations well to what vim exspects. zsh and mrxvt have option to switch between both

Re: changing the vim splash screen?

2006-09-27 Thread A.J.Mechelynck
earnoth wrote: Is it possible to change the vim splash screen? If so, how? It is of course possible, since Vim is open-source; but is it worth the trouble? You can only do it by changing function do_intro_line() in version.c, (adding a modified_by config argument too) and recompiling Vim.

Re: disabling numbered undo

2006-09-27 Thread A.J.Mechelynck
Dave McCooey wrote: Hi all, Does anyone know if it's possible to disable the numbered undo capability? For example, is it possible to make a key sequence like 78u do nothing rather than performing 78 undoes? Multiple undo (by hitting the 'u' key repeatedly) is extremely useful, and should

Re: Vim 7.0 Problems with gtk+ gui

2006-09-26 Thread A.J.Mechelynck
Surya Kiran Gullapalli wrote: Hello, Sorry for cross posting. I thought its a problem with gtk+ and it occurs when i use vim gui version with gtk+ gui. I've compiled vim against gtk+-2.10 on SuSE linux 9.1. Gvim does not display plain text file correctly. When starting, the following message

Re: disabling numbered undo

2006-09-27 Thread A.J.Mechelynck
Dave McCooey wrote: On Sep 27, 2006, at 6:33 PM, A.J.Mechelynck wrote: Dave McCooey wrote: Hi all, Does anyone know if it's possible to disable the numbered undo capability? For example, is it possible to make a key sequence like 78u do nothing rather than performing 78 undoes? Multiple undo

Re: Appending printoptions

2006-09-27 Thread A.J.Mechelynck
Jeremy Conlin wrote: I have the following as my printoptions paper:letter However, I periodically would like it to include number:y (or some other option(s)). I was wondering how I could just append this option to the existing printoptions instead of typing the entire thing out again. Any

Re: [2] Appending printoptions

2006-09-27 Thread A.J.Mechelynck
A.J.Mechelynck wrote: Jeremy Conlin wrote: I have the following as my printoptions paper:letter However, I periodically would like it to include number:y (or some other option(s)). I was wondering how I could just append this option to the existing printoptions instead of typing the entire

Re: --enable-gui argument... no GUI support

2006-09-28 Thread A.J.Mechelynck
Akbar wrote: Ok, I finally made it out. I think this is the case. First I don't have gtk2-devel installed, then I try to configure the vim 7 source. Vim tell me that gui is not supported. I installed gtk2-devel. With the same folder, I try to configure it again. No luck. Until today I try

Re: select/insert switching

2006-09-28 Thread A.J.Mechelynck
chak wrote: hi there i'm using (g)vim 4 months, and find it powerful and useful... plugins, which i'm using: - minibufexplorer, placed in the top of the window - NERDTree, file system browser Screenshot: http://img83.imageshack.us/img83/8913/gvimle8.png ( 38 kb ) I want: - switching from

Re: Move cursor in insert mode without breaking history?

2006-09-28 Thread A.J.Mechelynck
Karl Guertin wrote: I'm trying to get vim to auto-close parenthesis and set it up so that the closing paren jumps past the end of the inserted one. This mapping does the trick: inoremap ( ()Left inoremap ) C-Cf)a But it breaks history so repeat (.) doesn't re-insert the entire string. Is there

Re: Spell and Perl source highlighting

2006-09-28 Thread A.J.Mechelynck
Bill Moseley wrote: [...] Any way to get mousemodel popup to work on non-GTK Vim? I tend to only use Vim in text mode, not GUI mode. a) Extra footwork is needed to use menus in Console mode, see :help console-menus b) To recognise mouse events in console mode, you may need (depending on

Re: The meaning of nothing... ?

2006-09-28 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, to get all the keys of my keyboard working with vim I looked through my ~/.vimrc and found a setting (nottybuiltin), which I do revert and now a few addtional keys (C-F1 for example) do work correctly. So it seems, that the xterm256 definition, which I

Re: splitting $HOME/.vimrc

2006-09-28 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, for my zsh I split the .zshrc in several files, which contain only related things. For example all bindkey-related things go into .zsh.bindkey. .zshrc only sources those parts if available. Make things more readable. I would like to do the same thing

Re: The meaning of nothing... ?

2006-09-28 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Thanks for your reply ! I thought there would be a command ( _ex_-command as I have learned a mail before :O)), which dumps the tty settings in a terminfo/termcap-format already. I will look into the source and will see what I can use. Keep hacking!

Re: The meaning of nothing... ?

2006-09-29 Thread A.J.Mechelynck
Yakov Lerner wrote: On 9/29/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, to get all the keys of my keyboard working with vim I looked through my ~/.vimrc and found a setting (nottybuiltin), which I do revert and now a few addtional keys (C-F1 for example) do work correctly. So

Re: linebreak does not work with list

2006-09-29 Thread A.J.Mechelynck
Steve Hall wrote: :help linebreak documents that it is not used when...'list' is on but this means that toggling list shifts the text. I noticed this is on the ToDo: 7 Make 'list' and 'linebreak' work together. Is this a difficult fix? With 'list', tabs can be represented as ^I (if

Re: Autmagically adding new lines when text gets too long

2006-09-29 Thread A.J.Mechelynck
Jeremy Conlin wrote: I have set textwidth=80 and would like Vim to automatically break a line (between words) when the line gets too big. However, this isn't working, Vim doesn't seem to be doing anything different. Is there some other option I need to set? Thanks, Jeremy With 'textwidth'

Re: Unicode chars NEL, FF, LS, PS

2006-09-29 Thread A.J.Mechelynck
Steve Hall wrote: Does anyone here know if Vim respects the following Unicode characters (represents them rather than just indicating literals): http://en.wikipedia.org/wiki/Newline#Unicode I'm not on a Unicode platform at the moment, but I'm wondering if Vim could ever have the listchars to

Re: Unicode chars NEL, FF, LS, PS

2006-09-29 Thread A.J.Mechelynck
Steve Hall wrote: [...] It would be a lot to ask of any text editor to respect these new Unicode formatting characters. But I do think the authors of the spec intended these to be additions to the traditional CR and LF. I've been involved in a why can't Vim do X, editor Y can do it discussion,

Re: The meaning of nothing... ?

2006-09-29 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Hi Tony, hi Yakov! I looked throught the term/terminfo/termcap/xterm/rxvt/* stuff and have more questions than answers now. Do you know a document or HowTo or something linke that which will give me more closer informations about the term* handling in

Re: .vim_logout ???

2006-09-30 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, I am looking for a way to execute some lines of vim-script everytime when ich leave vim (end the programm). Are there any hooks, which I can use for such a task ? Keep hacking! mcc :autocmd VimLeave * any ex-command here Most (but not all)

Re: splitting $HOME/.vimrc

2006-09-30 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] I feel, that the mapping the possibilities of an computer onto the simplicity of an [OK][CANCEL]-based world is a limititation I dont want to accept for me. This is not identical to the acceptance of unreadable manuals/help texts, which do mention everything

Re: The meaning of nothing... ?

2006-09-30 Thread A.J.Mechelynck
Yakov Lerner wrote: [...] Something more on the topic. - To print full termnifo capabilities of terminal 'xterm' from file /usr/share/terminfo/x/xtern: infocmp xterm - to list all terminals in the terminfo database: ls -R /usr/share/terminfo/ toe Yakov or maybe ls -Rl

Re: Change the text cursor shape.

2006-09-30 Thread A.J.Mechelynck
Kazuo Teramoto wrote: On 9/30/06, Yakov Lerner [EMAIL PROTECTED] wrote: 2. Did you try 'set showmode' and tip http://www.vim.org/tips/tip.php?tip_id=1287 ? The advantage of this is that it works in any terminal. Yes, but what I like to do is to change the shape to something like the

Re: first character cutted when v,j,x

2006-09-30 Thread A.J.Mechelynck
cga2000 wrote: On Sat, Sep 30, 2006 at 06:03:28PM EDT, Dasn wrote: [..] How to make linux gvim behave like windows vim (l not cutted)? Take a look at your 'selection', it should be 'exclusive' on your windows platform. For more info: :h :behave :h 'selection' Could you explain further?

Re: The meaning of nothing... ?

2006-09-30 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Hi Tony, hi Yakov! :) the term information database on my system is not the problem in that way. What I am trying to try :) is to dump the builtin term settings of vim in a way so I can manipulate the systems term settings, cause many systems carry

Re: copy a word without moving cursor

2006-10-01 Thread A.J.Mechelynck
Osho GG wrote: Hi All, I know this mustbe pretty simple but I can't figure this out. I want to copy a word into a buffer without moving the cursor. Currently I do something like *ayw^O:nohCR to get this effect. But, this seems like such a round about way to do this. Is there a simpler way to

Re: vim backspace

2006-10-01 Thread A.J.Mechelynck
cga2000 wrote: On Sat, Sep 30, 2006 at 03:25:08PM EDT, samitj wrote: [..] 2) I modified my .vimrc file with some color settings. However, now I just get a blank screen with my xterm color covering the whole screen - cant see any text. HOw do I fix this? I find that rather than making

Re: Problem with accents

2006-10-01 Thread A.J.Mechelynck
Giovanni Funchal wrote: Hello all! I've recently installed kubuntu linux over vmware, then I used the adept package manager to install the following packages (6.4-006) vim vim-gtk vim-gui-common vim-latexsuite vim-runtime I have a french keyboard, and accents works everywhere: terminal,

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, is it possible to map the sequence of C-CC-Fb to anything (and how?)? I tried as a first brute-force experiment noremap C-CC-Fb echo works But it does not works... :) Any chance to do such a trick? Thanks a lot for any help ! keep hacking!

Re: first character cutted when v,j,x

2006-10-01 Thread A.J.Mechelynck
cga2000 wrote: [...] .. sounds fishy .. in a cell terminal how could a character be between characters.. except by being invisible? :-) [...] Windows, even more than modern Unixes (those with X11), is GUI-oriented. On Windows, IIUC, only old Dos hands like me, hackers, and Unix users ever

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Mikolaj Machowski [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 1 Oct 2006 15:09:56 +0200 Dnia niedziela, 1 października 2006 14:54, Meino Christian Cramer napisał: Hi, is it possible to map the sequence of C-CC-Fb to anything

Re: I cannot install gvim7.0

2006-10-01 Thread A.J.Mechelynck
Zheng Da wrote: Hello. I try to install vim7.0 But I can't install vim with GUI. It seems that configure automatically looks for a GUI, but it always tells no in my system. checking --enable-gui argument... no GUI support And I'm sure there isn't gvim in my system. I read src/INSTALL. It tells

Re: I cannot install gvim7.0

2006-10-01 Thread A.J.Mechelynck
Zheng Da wrote: Hello. I try to install vim7.0 But I can't install vim with GUI. It seems that configure automatically looks for a GUI, but it always tells no in my system. checking --enable-gui argument... no GUI support And I'm sure there isn't gvim in my system. I read src/INSTALL. It tells

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Hi Tony ! nice to read you again! And thank you very much for your help,help,help... :) - BIG smiley! Slowly and surely I get my TeX macro working... What I have now is the following: inoremap C-CC-Fb {\bf #}ESC?#CRc/}CR inoremap C-CC-Fi {\it

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 19:44:39 +0200 Meino Christian Cramer wrote: [...] Hi Tony ! nice to read you again! And thank you very much for your help,help,help... :) - BIG smiley

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] I think Bram should add :he Tony -support in vim which prints your email address... or may be it is not what you really want, isn't ir ;O) (just kidding) Keep hacking! mcc :-D Actually, my personal maibox is so full of spam that I read it only

Re: Vi use up-down-left-right in insert mode

2006-10-01 Thread A.J.Mechelynck
samitj wrote: Hi, I am a new vi user switching from emacs. Is it possible to use up-down-left-right,backspace and delete in Vi in insert mode. I find it hard to go out of insert mode just to edit my typos while typing. Yes, it is. Didn't you try? If arrow keys don't work, maybe the

Re: Take Two: Pasteboard sans HTML

2006-10-01 Thread A.J.Mechelynck
Calvin Waterbury wrote: Note: I realized after I sent this it was in HTML, I thought it was test only - please accept my apologies for any difficulty - Calvin Hello VIM, [Disclaimer] - I realize this is a long post, but if it results in triggering interest, the resultant increase in

Re: Uppercase keywords

2006-10-02 Thread A.J.Mechelynck
Marius Roets wrote: Hi Vimmers, I have a big a (3000+ lines) source code file. The syntax highlighting works perfectly, so all keywords are highlighted correctly. Is there any way that I can use this fact to convert all keywords to uppercase, or do I have to do them all one by one? Thanks

Re: imd don't take effect under linux

2006-10-02 Thread A.J.Mechelynck
Dasn wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. Does :set imd take effect in

Re: imd don't take effect under linux

2006-10-02 Thread A.J.Mechelynck
Eddy Zhao wrote: 2006/10/2, A.J.Mechelynck [EMAIL PROTECTED]: Dasn wrote: On Sun, Oct 01, 2006 at 01:37:53PM +0800, Eddy Zhao wrote: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under

Re: Mapping of keysequences...

2006-10-03 Thread A.J.Mechelynck
* A.J.Mechelynck antoine(dot)mechelynck(at)skynet(dot)be vim:tw=78:ts=8:ft=help:norl: . :w :helptags ~/.vim/doc :he Tony Ya know - not only is that funny - it's useful ! It made me realize I can make my own crib sheet for the stuff I can't remember and embed it right in Vim! Cool e.g

Re: imd don't take effect under linux

2006-10-03 Thread A.J.Mechelynck
Dasn wrote: [... The exists() is formal way to achieve this, especially when we writing scripts. But sometimes dirty trick comes handy. e.g.: :echo exists(+ruler) - 1 , has 'ruler' :echo exists(+noruler) - 0, doesn't has 'ruler'? IIUC, this one will always be zero. If you want an if that

Re: Nul ?

2006-10-03 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: Nul ? Date: Mon, 2 Oct 2006 22:12:46 +0300 On 10/2/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: what does it mean or what is the meaining of: When i_Ctrl-k key returns Nul ??? It means you pressed

Re: toggling keymap

2006-10-03 Thread A.J.Mechelynck
Sven Brueggemann wrote: Hello, where do I find CTRL-^ on a German keyboard? I know that I can map it, but I'd like to see if the standard keystroke fits my needs before changing it. Kind regards Sven You may have to hunt around, using the Ctrl-V prefix in Insert mode; and it might not

Re: break very long line into short one with one g-command

2006-10-03 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, I have a line from about 40.000 characters. I want to break this up into lines which are 80 charactes long. In a previous thread, a few months ago this was possible with one g-command. I did use it then also, but can't recall it anymore. Thanks, Kind regards, Eric

Re: break very long line into short one with one g-command

2006-10-03 Thread A.J.Mechelynck
Suresh Govindachar wrote: I have a line from about 40.000 characters. I want to break this up into lines which are 80 charactes long. In a previous thread, a few months ago this was possible with one g-command. I did use it then also, but can't recall it anymore. I

Re: Windows Batch file with Tabs

2006-10-03 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: I thought that this would be easy, but I can not figure it out. I have had a simple Windows CMD file for a long time to open several files in VIM. Each one gets its own window. Now with V7.0 I would like to have a simple batch file to open the files in one window, but

Re: BUG? getchar(0) and getchar(1) do not detect ESC

2006-10-04 Thread A.J.Mechelynck
Peter Hodge wrote: Hello all, I am having trouble with getchar() detecting ESC. If I use getchar(0) or getchar(1), it will not pick up an ESC keystroke. You can replicate this by using the command: :sleep 3 | echo getchar(0) ... and pressing ESC quickly before the getchar() function is

Re: Copy between windows

2006-10-04 Thread A.J.Mechelynck
tnas wrote: Hello folks, I'm a begginer in the use of the vi, and I have a bit question: How can I copy a text between differents windows ? Thanks in advance. Yank it in one and put it in the other: e.g., 5yy to yank five lines, Ctrl-W w to switch to the next (split) window, move the

Re: Test and some help

2006-10-04 Thread A.J.Mechelynck
Billy Patton wrote: Everything bounced back yesterday, my first day of signup. What I was trying to ask When a file changes, external to gvim/vim, I have it where it will tell me it has changed, but I would like to to tequest for it to be reloaded. This works on gvim, but not on vim.

Re: problem mapping Ctrl-Space (?)

2006-10-04 Thread A.J.Mechelynck
Chuck Tuffli wrote: I found the tutorial on using cscope with vim and am having trouble with the split screen commands. The Ctrl-\ variants map correctly to their cscope equivalents but Ctrl-Space just advances the cursor one position and performs the command associated with the letter (i.e.

Re: Help with emptytags in xml.vim

2006-10-05 Thread A.J.Mechelynck
Kevin Old wrote: Hello all, I'm using the xml.vim plugin (http://www.vim.org/scripts/script.php?script_id=1397) and have it working well, but am trying to set a percent tag % % (used with HTML::Mason) as an emptytag. Here's the line in my .vimrc: let

Re: Help with emptytags in xml.vim

2006-10-05 Thread A.J.Mechelynck
Kevin Old wrote: [...] Hi Tony, I can't use gt; in place of the - I'm writing perl, not html. The % % tags basically do a print $obj-obj_var for me if I used it like this % $obj-obj_var %. Kevin Have you tried? If it's within an XML file, then the XML user-agent (the program which handles

Re: C++ IDE

2006-10-05 Thread A.J.Mechelynck
James Oliver wrote: Hi, [Using vim as an IDE] Of course, there are many who use vi as an IDE and I think many use it differently. Does anyone know a good information source where I can see _how_ people are using vim as an IDE? I know http://www.vim.org/tips/tip.php?tip_id=1119 How to use Vim

Re: Java Omni Complete

2006-10-06 Thread A.J.Mechelynck
Jason Mills wrote: Hi Vimmers, I have searched the Internet and vim.org for an omni complete function/script for java (i.e. javacomplete.vim), but have had no luck. Does anyone know if such a script/function exists? Jason If you don't see anything else, you may try :setlocal

Re: BOF

2006-10-06 Thread A.J.Mechelynck
Robert Cussons wrote: Bill McCarthy wrote: Hello Vim List, I listened to Bram's BOF this past weekend. I still don't know what BOF means. From Wikipedia: BoF is an acronym for: Basic Oxygen Furnace Birds of a Feather beginning of file Body-on-frame Breath of Fire BOF can also mean:

Re: multibyte doesn't work?

2006-10-06 Thread A.J.Mechelynck
Christian Brehm wrote: Hi, I just installed gvim at SuSe 10.1 (Version 6.4, 2005 Oct, 15th, compiled May 2006). multi_byte and multi_lang is enabled. But still I cannot use any multibyte characters. At all, every command containing the 'Alt' key doesn't work... I've set the language to [EMAIL

Re: combining two mapping into one

2006-10-06 Thread A.J.Mechelynck
Kamaraju Kusumanchi wrote: On Friday 06 October 2006 08:24, Andy Wokula wrote: Kamaraju Kusumanchi schrieb: I use two mappings for my Fortran (.f90) files map F5 Homev%zf map F6 HomezDv%zf The idea is to create folds for code blocks which are of the form subroutine some_name_here

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