Re: Delivering text to vim.

2006-04-13 Thread Mikolaj Machowski
Dnia środa, 12 kwietnia 2006 19:45, Halim, Salman napisał: Redir doesn't work for commands that don't post their output in the Vim window (such as system commands). If it is your intention to post the For me ls worked. output of a system command into your buffer, you can instead do: :r!ls

Re: which vim option

2006-04-16 Thread Mikolaj Machowski
Dnia niedziela, 16 kwietnia 2006 14:46, Georg Dahn napisał: That's it, thanks. 'showbreak'. Is there a possibility that wrapping respects indentation? That is, that the wrapped text starts exactly at the actual indentation? I have not found an option for that, but this would be a fine

Re: Font names - hint

2006-04-24 Thread Mikolaj Machowski
Dnia poniedziałek, 24 kwietnia 2006 14:48, dax2 napisał: Can anyone give a hint how to get font names for Vim - help advices to forget about XFLD and xfontsel. How can I designate a font like Sony Fixed 17pt alias 12x24, XFLD-name is -sony-fixed-*-*-*-*-*-170-*-*-*-*-8859-1

Re: C++ omnicomplete modification.

2006-04-25 Thread Mikolaj Machowski
Dnia wtorek, 25 kwietnia 2006 11:24, Kyku napisał: Hello, Brave C++ Coders. If you want omnicopletion to work for C++ classes, structs and unions, you can insert the following small code snippet after line 406 of $VIMRUNTIME/autoload/ccomplete.vim: Maybe you want to just maintain

Re: Minor issues folding, autocomplete, scroll wheel

2006-05-08 Thread Mikolaj Machowski
Dnia poniedziałek, 8 maja 2006 18:03, Silent1 napisał: Lastly, usually i'm using vim for php, and i'm trying to get the omni completion working. In insert mode when i type ctrl+X ctrl+O it just cuts the current line. Can i remap the keys to start the completion or can i just call it thru

Re: VIM7.0: How to switch off the spell check function? Thanks a lot.

2006-05-09 Thread Mikolaj Machowski
Dnia wtorek, 9 maja 2006 05:50, Japerlh napisał: VIM7.0: How to switch off the spell check function? The following command can be used to switch on the spell check. What is the command to turn it off? :setlocal spell spelllang=en_us Switch state of boolean options:: :set

Re: [Maybe Off Topic]: To Bram: About your paid job

2006-05-09 Thread Mikolaj Machowski
Dnia wtorek, 9 maja 2006 18:55, Jonathan Orlev napisał: 2. Since you probably (and hopefully :-) ) plan to keep developing Vim 7.X and moving to the next major version (version 8.X) in the future, don't you need more sponsoring (beside your voluntary work for Uganda)? As Bram didn't elaborate

Re: compilation

2006-05-10 Thread Mikolaj Machowski
Dnia środa, 10 maja 2006 14:19, Anton napisał: Sorry for my stupid question, but I have no enough exprience to solve the problem myself... I've downloaded an archive vim-7.0.tar.bz2 from www.vim.org and tried to compile vim with all default options. ./configure reported no errors, but `make`

Re: HTML editing with vim: where to start ?

2006-05-17 Thread Mikolaj Machowski
Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisał: - get vim to automatically close/complete the innermost previously opened tag. What do you mean automatically?. You can do: inoremap / /c-xc-o Other things I don't know how to find is: how do I make sure that VIM finds the CSS

Re: HTML editing with vim: where to start ?

2006-05-17 Thread Mikolaj Machowski
Dnia wtorek, 16 maja 2006 18:37, A.J.Mechelynck napisał: Ivan Vecerina wrote: [...] For example, here are a few simple things I need to do all the time: [...] - get vim to automatically close/complete the innermost previously opened tag. [...] see the closeag.vim plugin,

Re: vim7: two issues with insert mode completion

2006-05-17 Thread Mikolaj Machowski
Dnia środa, 17 maja 2006 03:49, Hari Krishna Dara napisał: Very often, I record changes that involves i_^P, and see an issue replaying them in Vim7. Say, you have text such as: Noticed similar behaviour in command line completion. Up to Vim7 when you were recording into register went real

Re: SNR, maparg(), and UTF-8

2006-05-17 Thread Mikolaj Machowski
Dnia wtorek, 16 maja 2006 23:35, Luc Hermitte napisał: The problem has existed for a long time. The iconv() workaround works correctly with vim 7.0.012 on linux, but not with vim 7.0.000 (default win32 build) on windows. Do you have +iconv or +iconv/dyn in :version? For better work with

Re: SNR, maparg(), and UTF-8

2006-05-17 Thread Mikolaj Machowski
Dnia środa, 17 maja 2006 18:34, [EMAIL PROTECTED] napisał: Mikolaj Machowski [EMAIL PROTECTED] wrote: Dnia wtorek, 16 maja 2006 23:35, Luc Hermitte napisa?: The problem has existed for a long time. The iconv() workaround works correctly with vim 7.0.012 on linux, but not with vim 7.0.000

Re: HTML editing with vim: where to start ?

2006-05-18 Thread Mikolaj Machowski
Dnia czwartek, 18 maja 2006 03:49, David Fishburn napisał: Since Ivan mentioned he is using PHP with his HTML, closetag will be very useful for him. PHP/HTML/XML omni-completion mixes *extremely* well :) m.

Re: HTML editing with vim: where to start ?

2006-05-18 Thread Mikolaj Machowski
Dnia środa, 17 maja 2006 22:27, Ivan Vecerina napisał: Mikolaj Machowski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] : Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisał: : - get vim to automatically close/complete the innermost previously : opened tag. : : What do you

Re: HTML editing with vim: where to start ?

2006-05-19 Thread Mikolaj Machowski
my guess is :source $VIMRUNTIME/mswin.vim -- the script that cripples Vim in a not-very-successful attempt to make it more Windows-like. WTF, if you want a Windows-like editor, don't use Vim, use Notepad! IMHO mswin.vim is better done without. Hey, it is not *that* bad :) m.

Re: Extending Vim7 with plugins

2006-05-19 Thread Mikolaj Machowski
Dnia piątek, 19 maja 2006 19:07, Meino Christian Cramer napisał: IMHO the help files are only for those, who are know already, what they are searching for. A newbie gets hopelessly lost. Not exactly. Newbie has to read whole Users Manual from the beginning to the end. There is no way to jump

Re: HTML omni completion not working

2006-05-19 Thread Mikolaj Machowski
Dnia piątek, 19 maja 2006 20:28, Adam Young napisał: I am having trouble making the html autocomplete thing work in my vim 7. This is the error that I receive: undefined variable b:html_omni . Autocompletion for other languages (javascript, ruby, etc.) is working fine. Anyone have any tips?

Re: html auto completion

2006-05-20 Thread Mikolaj Machowski
Dnia sobota, 20 maja 2006 07:11, Vu The Cuong napisał: I'm new to vim and I tried a couple of hours to make html auto - completion feature to work. But had no result. Could anyone tell me how to config vim to turn on html auto - completion? What system? If MS-Windows get rid of:: :so

Re: How do I make html autocompletion work?

2006-05-22 Thread Mikolaj Machowski
Dnia poniedziałek, 22 maja 2006 09:56, victor NOAGBODJI napisał: Hi, There is a current post about the subject. But the OP doesn't tell how to activate this feature. The autocompletion I need is either for tags, or for attributes... It should be activated automatically as soon as filetype

Re: spell checking with html doesn't work

2006-05-26 Thread Mikolaj Machowski
Dnia piątek, 26 maja 2006 03:28, David Purton napisał: Any suggestions? It kind of looks like a bug, but maybe I'm missing something obvious. Maybe you have some custom highlighting definitions for HTML? Remove them and check once more. m.

Re: Deleting lines from L1 to L2 in Vim script

2006-05-30 Thread Mikolaj Machowski
Dnia wtorek, 30 maja 2006 11:43, Baha-Eddine MOKADEM napisał: Hi, I would like to to delete line from L1 to L2, I try to script that but obviously commands are different for a script. Why? Just place something like:: 5,10d in script and it will work. If you want to use variables::

Re: spellcheck, and other spell checkers.

2006-05-30 Thread Mikolaj Machowski
Dnia piątek, 26 maja 2006 15:19, Samuel Wright napisał: How compatible is the new vim 7 spellcheck with other spellcheckers (ispell, aspell, gtkspell, enchant)? Is it as simple as linking the spellfile to the good word list already in use by the other checker? No. You have to create binary

Re: how to fold lines not containing a pattern ?

2006-06-05 Thread Mikolaj Machowski
Dnia poniedziałek, 5 czerwca 2006 13:51, Christian MICHON napisał: any help/hint appreciated. thanks in advance Tim already gave folding solution but you may be also interested in: :vimgrep /warning/ % m. ps. Vim7 required.

Re: Updated PHP syntax file

2006-06-08 Thread Mikolaj Machowski
Dnia czwartek, 8 czerwca 2006 03:38, Peter Hodge napisał: the file on my own web server. Stefano mentioned I should email the updated file to Bram, should I also add it to vim.org/scripts/ as a syntax script? (So that I can include a URL in the file for people to find updates.) Both. m.

Re: Bug with gU and German sharp s?

2006-06-11 Thread Mikolaj Machowski
Dnia niedziela, 11 czerwca 2006 15:57, Bertram Scharpf napisał: Is there any way to tell Vim to leave the `ß' as it was? Change encoding? In latin2 (where ß also exists) it is not changed into SS but IMO this is bug. m.

Re: omni completion, calling different types

2006-06-13 Thread Mikolaj Machowski
Dnia poniedziałek, 12 czerwca 2006 19:39, Silent1 napisał: I'm using the omni completion so far on my php scripts and i'm wondering if there are ways i can call different sets of data with different key strokes. You can use 'completefunc' to call different completion script. ctrl-x+ctrl+o

Re: Vim: Reading from stdin

2006-06-13 Thread Mikolaj Machowski
Dnia wtorek, 13 czerwca 2006 17:22, John Love-Jensen napisał: date | /usr/bin/vim -u NONE - Still the same. Vim7.017 m.

Re: omni completion, calling different types

2006-06-14 Thread Mikolaj Machowski
Dnia środa, 14 czerwca 2006 17:37, David Fishburn napisał: It is triggered (while in insert mode) using C-C followed by a key. The key is what allows you to filter what is displayed in popup window. The key can be many things: t - table list p - procedure list v - view

Re: Bug with gU and German sharp s?

2006-06-16 Thread Mikolaj Machowski
Dnia piątek, 16 czerwca 2006 16:47, martin kraegeloh napisał: hmm, well ... this is as buggy as the java String.toUpperCase() method ;-) oracle for example does it right and leaves the sharp s as it is - because there is no upper case variant of it. I was thought that capital version of ß

Re: Bug with gU and German sharp s?

2006-06-16 Thread Mikolaj Machowski
Dnia piątek, 16 czerwca 2006 13:34, Bram Moolenaar napisał: I see the problem. I'll put it in the todo list. Sub-problem with ß. In latin2 'encoding' (where ß also exists) it isn't changed to SS. I think behaviour should be the same for all encodings. m.

Re: feature request: \s in [] in regexp

2006-06-18 Thread Mikolaj Machowski
Dnia niedziela, 18 czerwca 2006 12:00, Yakov Lerner napisał: vim unserstands \t and \n in [] in regexp (as tab and as newline). But \s is not treated as blanks in []. Can you please add treatment of \s as blanks in [] in regexp. I mean, \s is sort of space and Tab, no more complex than that,

Re: Comments/Additional Notes for scripts

2006-06-19 Thread Mikolaj Machowski
Dnia niedziela, 18 czerwca 2006 22:26, A.J.Mechelynck napisał: The comments section for vimtips is not very reliable (who goes back every day to see if his tips have got a new comment added to them?). Since vim-online scripts (unlike tips) require logging in, if you have a comment you can

ANN: VST 1.0 Finally

2006-07-01 Thread Mikolaj Machowski
Hello, Vim7 required. VST is script which makes possible to export text files with simple markup to HTML, LaTeX or HTML S5 presentation format to create even complex documents. Script doesn't require any external dependency and will work on any platform Vim7 is available. VST is Vim only

Re: Troubles with cursor()

2006-07-04 Thread Mikolaj Machowski
Dnia wtorek, 4 lipca 2006 04:01, Peter Hodge napisał: Is this a feature or a bug? Looks like a bug. eval.txt explicitly mentions List with *2* or three items. m.

Re: Summarising all TODO / FIXMEs

2006-07-08 Thread Mikolaj Machowski
Dnia sobota, 8 lipca 2006 23:58, Preben Randhol napisał: Hi Is there any script for vim which can extract all TODOs, FIXMEs or BUGs from a set of source code files and display them in a window. If one could click on a FIXME/TODO and then jump to the right source code file and line would be

Re: script installation from remote url

2006-07-13 Thread Mikolaj Machowski
Dnia czwartek, 13 lipca 2006 11:26, Yakov Lerner napisał: If not, then what's the closest existing thing to such :InstallScript functionality ? You have also GetLatestVimScripts. But this is targeted directly to vim-online. m.

Re: ANN: VST 1.0 Finally

2006-07-15 Thread Mikolaj Machowski
Dnia czwartek, 13 lipca 2006 13:00, sgp napisał: I installed per provided instructions (WinXP) but when I type :Vst I get a bunch of error messages, mostly undefined variables: g:plinen_rez g:paras_rez g:ptype_rez etc. all of which are initialized in $VIM\vimfiles\autoload\vst\vst.vim but

Re: Generic xml omnicomplete

2006-07-18 Thread Mikolaj Machowski
Dnia wtorek, 18 lipca 2006 06:23, David Purton napisał: Hi all, I gather that the vim7 xml omnicomplete needs a data file to work - which is fair enough, since you can get all the attributes as well this way. But, how can I get a generic xml omnifunction system where vim will just close

Re: Generic xml omnicomplete

2006-07-18 Thread Mikolaj Machowski
Dnia wtorek, 18 lipca 2006 13:28, A.J.Mechelynck napisał: You can also assing a single-key shortcut for it, e.g. :imap F12 C-XC-O to use F12 instead of Ctrl-X plus Ctrl-O I have swapped CapsLock and left Control and use: imap C-O C-XC-O Exteremely handy :) m.

Re: A card game for Vim

2006-07-19 Thread Mikolaj Machowski
Dnia środa, 19 lipca 2006 04:54, Hari Krishna Dara napisał: First of all, thanks a lot for trying it, you are the only who showed enthusism until now :) Most people probably pretend they are above small game of solitaire ;) On Wed, 19 Jul 2006 at 12:02am, Mikolaj Machowski wrote: Dnia

Re: Generic xml omnicomplete

2006-07-19 Thread Mikolaj Machowski
Dnia wtorek, 18 lipca 2006 19:39, A.J.Mechelynck napisał: IMHO, inoremapping / to /C-XC-O might be included as a vim-online tip but definitely not as part of the standard XML/HTML filetype plugins. This is NOT part of xmlcomplete.vim . Just standard response for autoclosing questions. m.

ANN: VST 1.1 Wedel

2006-07-23 Thread Mikolaj Machowski
Hello, Hello, Vim7 required. VST is script which makes possible to export text files with simple markup to HTML, LaTeX or HTML S5 presentation format to create even complex documents. Script doesn't require any external dependency and will work on any platform Vim7 is available. VST is Vim

Re: Other European languages on a US keyboard

2006-07-24 Thread Mikolaj Machowski
Schleswig-Holstein to the plain of the Po. I suspect that most of Central Europe would have adopted a German-derived (or maybe French-derived) keyboard regardless of whether the majority language was Czech, Slovak, Italian, Hungarian, Croatian... In fact Polish traditional keyboard is

cterm256?

2006-08-04 Thread Mikolaj Machowski
Hello, Since Konsole in KDE 3.5.4 supports 256 colors it could be nice if Vim could use them. Is any way to convince Vim to use guibg/guifg from syntax files in console? m.

Re: utf8 vs string handling vs virtcol

2006-08-31 Thread Mikolaj Machowski
Dnia czwartek, 31 sierpnia 2006 13:09, Thomas napisał: This is wrong. You need: let col = col(.) let line = strpart(getline(.), col - 1) Unfortunately, IIRC this doesn't work with wrapped lines which is why I chose virtcol() ... But, well can't reproduce what I

Re: Vim BOF session

2006-09-03 Thread Mikolaj Machowski
Dnia sobota, 2 września 2006 12:36, Kim Schulz napisał: Omnicompletion++: --- Omnicompletion is a great new feature, but I would like to see it become even stronger. The intellisense plugin for gvim on win32 has some of the features I would love to see in the generic omni

For all people thinking about interface changes

2006-09-04 Thread Mikolaj Machowski
Hello, Post from comp.editors: -- From: Sascha T. [EMAIL PROTECTED] Newsgroups: comp.editors Subject: Re: The vim and emacs wars Date: 3 Sep 2006 16:21:41 -0700 I've been using Emacs eversince - for something like ten years, I

Re: syntax borked

2006-09-04 Thread Mikolaj Machowski
Dnia poniedziałek, 4 września 2006 16:44, Jorge Almeida napisał: I've upgraded to vim-7.0.17. I don't know which version I had before, probably 6.4. I run linux (gentoo). After upgrading, syntax for perl seems to have gone to the trash. Colours appear chaotic and pressing 'o' in normal mode

Re: PHP omni-completion, PHP objects

2006-09-05 Thread Mikolaj Machowski
Had to got message from Yahoo Groups, original post was lost somewhere: with vim7's omni-completion how do you call/get functions/variables relating to a specific class? $object = new HTML_QuickForm(); $object- And then after you type - how do i call for completions only relating to the

Re: mixed filetypes (was: Smarter Indent)

2006-09-06 Thread Mikolaj Machowski
Dnia środa, 6 września 2006 14:22, Benji Fisher napisał: If you use omnicompletion in your perl files, wouldn't you like it to work when you are embedding perl in a shell script? This can be done already. In fact I've done it in php/js/html/css omnicompletion plugins. But it requires some

Re: vim nxml?

2006-09-21 Thread Mikolaj Machowski
Dnia środa, 20 września 2006 19:55, Aaron Mehl napisał: Hi all, I asked this a while ago, but I will try again, Is there anything like nxml mode for vim? Especially for Docbook? and not just syntax highlighting but autocomplete and parse as you go and . completion is available

Re: Vim7 and ispell?

2006-09-28 Thread Mikolaj Machowski
Dnia czwartek, 28 września 2006 10:50, Markus Vuori napisał: Hello, I'm a great fan of VIm editor and I've been using it for several years now though I subscribed this list just a few minutes ago. :) I'd like to know how I can combine the Vim7 spellchecker with ispell? I need ispell because

Re: Mapping of keysequences...

2006-10-01 Thread Mikolaj Machowski
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 (and how?)? I tried as a first brute-force experiment noremap C-CC-Fb echo works If you want to print it in the buffer it should be::

Re: forms support for Vim

2006-10-01 Thread Mikolaj Machowski
Hello, Interesting concept. The most difficult thing are Vim habits. Seeing spelling error in line before I tend to make Esck than S-Tab which is obviously messing things. - Use Esc in fields to cancel changes and restore old value. This doesn't work. I am getting Plug17|v$h Cannot accept

Re: forms support for Vim

2006-10-02 Thread Mikolaj Machowski
Dnia poniedziałek, 2 października 2006 01:41, Hari Krishna Dara napisał: First, a big thank you for trying it and giving feedback. On Sun, 1 Oct 2006 at 4:11pm, Mikolaj Machowski wrote: Hello, Interesting concept. The most difficult thing are Vim habits. Seeing spelling error in line

Forms highlighting

2006-10-02 Thread Mikolaj Machowski
Hello, Below patch to yesterday version of forms.vim . Rather proof of concept than full solution but looks much nicer: Features: - highlight header of form in Comment - highlight labels of fields as Questions - hightlight hotkeys as Statements Limitations: - Buttons are not supported

Re: Forms highlighting

2006-10-03 Thread Mikolaj Machowski
Dnia wtorek, 3 października 2006 02:35, Hari Krishna Dara napisał: - Start a fresh Vim session and execute: :call forms#demo() Looks very good (I am using last version). Problems with current version of forms: - arrows doesn't work in terminal. They are completely messing things eg.

Re: Forms highlighting

2006-10-04 Thread Mikolaj Machowski
Dnia środa, 4 października 2006 05:06, Hari Krishna Dara napisał: No. They are inserting some version of keycode: OA, OB, OC, OD. In gui everything works well. In menus enabled Doesn't that just mean your term is not properly setup? I tried it on win32 console vim and it worked just fine.

Forms example

2006-10-05 Thread Mikolaj Machowski
Dnia środa, 4 października 2006 05:06, Hari Krishna Dara napisał: A new version is available, to try: - Download the below file and put it in your autoload directory: http://haridara.googlepages.com/forms.vim - Start a fresh Vim session and execute: :call forms#demo() The new version has

Re: Forms highlighting

2006-10-05 Thread Mikolaj Machowski
Dnia czwartek, 5 października 2006 01:16, Hari Krishna Dara napisał: I have 6.3 version of cygwin and arrows work fine in rxvt. I stil think your term settings are not right. But this is not really concern forms plugin, though it means we might have to support some other maps that will

Re: Forms highlighting

2006-10-08 Thread Mikolaj Machowski
as validation (zip field). When inserting non-valid data it is almost impossible to leave zip field. At least some warning message would be appropriate. This is not for forms stuff but demoform should set good standards for interaction :) On Thu, 5 Oct 2006 at 1:19pm, Mikolaj Machowski wrote: C

Re: VimL and Exuberant tags - Suggestions please

2006-10-13 Thread Mikolaj Machowski
Dnia piątek, 13 października 2006 02:16, David Fishburn napisał: Instead of simply grouping everything under variables, should we distinguish between different types? let forms#form = { \ 'title': 'Address Entry Form', \ 'fields': [], \ 'defaultbutton': 'ok', \

Re: Using output of Vim commands in scripts

2006-10-16 Thread Mikolaj Machowski
Dnia poniedziałek, 16 października 2006 15:05, Marius Roets napisał: Hi everybody, Is it possible to use the output of Vim commands in a script? My specific problem currently is that I would like to use the output of :tabs in a script. I cannot find a Vim function that does the same as this

Re: Automatically adding header into file with specific extension

2006-10-18 Thread Mikolaj Machowski
Dnia środa, 18 października 2006 10:19, Gundala Viswanath napisał: Hi, I want to be able to have VIM automatically insert this line: :help skeleton m.

Re: getchar() trick with recursive expr map

2006-10-20 Thread Mikolaj Machowski
Dnia piątek, 20 października 2006 08:26, Hari Krishna Dara napisał: Here is a demo that shows how to use it in insert mode. What the function does is to double every key you press, except Esc and C-C, when it breaks the loop. If world could be so beautiful... In Linux terminal and GTK2

Re: Changing omnicomplete lifetime?

2006-10-23 Thread Mikolaj Machowski
Dnia poniedziałek, 23 października 2006 15:18, Bill Mill napisał: How would you recommend getting this to work? Should I try and edit supertab? Is there an easy way to change it? Maybe try to change 'completeopt' value. longest option? m.

Re: Changing omnicomplete lifetime?

2006-10-24 Thread Mikolaj Machowski
Dnia poniedziałek, 23 października 2006 23:23, Bill Mill napisał: On 10/23/06, Mikolaj Machowski [EMAIL PROTECTED] wrote: Dnia poniedziałek, 23 października 2006 15:18, Bill Mill napisał: How would you recommend getting this to work? Should I try and edit supertab? Is there an easy way

Re: has('unix')

2006-10-25 Thread Mikolaj Machowski
On śro paź 25 2006, vim@vim.org wrote: Hello, for my font plug in I need to know which OS I am running on to choose an appropriate font. Now when Sun Solaris where added to the list of OS I use I run into a little problem: there is only has('unix') - but that's not good enough as Linux

Re: getchar() trick with recursive expr map

2006-10-25 Thread Mikolaj Machowski
On śro paź 25 2006, Mikolaj Machowski wrote: In Linux terminal and GTK2 versions cursor is stuck in command line and don't at its real position making inserting of text almost random. Getting stuck at command-line is normal, as it is always waiting on getchar(). I realize

Re: no special treatment of and ~ in substitute? possible?

2006-10-30 Thread Mikolaj Machowski
On pon paź 30 2006, vim@vim.org wrote: How can I tell vim to not tread and ~ in a special way when using substitute? compare echo substitute(substitute('a','a','b',''),'b','c ','') and echo substitute(substitute('a','a','b',''),'b',substitute('c ','\V\(\|~\)','\\\1','g'),'')

ANN: VST 1.3 Halloween

2006-10-31 Thread Mikolaj Machowski
Hello, Vim7 required. VST is script which makes possible to export text files with simple markup to HTML, LaTeX or HTML S5 presentation format to create even complex documents. Script doesn't require any external dependency and will work on any platform Vim7 is available. VST is Vim only

Re: XML file creation and validation based on schema]

2006-11-16 Thread Mikolaj Machowski
On czw lis 16 2006, vim@vim.org wrote: Hi, Is it possible to create and validate xml files, based on xml schema (xsd files) in vim. The features, like automatic closing tags, automatic insertion of mandatory tags, suggestion of tags, based on the schema etc will be very useful. Is there any

Re: your best vim scripting tip

2006-12-03 Thread Mikolaj Machowski
On nie gru 3 2006, vim@vim.org wrote: Hi, It you should give one (or more) tips to a person who was going to start creating scripts for vim, then what would it be? (besides know your :help :-) ) ideas could be: Do's and dont's Keep ff=unix . In other case your scripts won't be working

Re: Learning the vim Programming

2006-12-22 Thread Mikolaj Machowski
On pią gru 22 2006, vim@vim.org wrote: I have been using vim since three years ago . Vim gives me happy and sometimes agony^_^ i Just want to leaning more about the vim programming. But the vim doc which can be called out via help XXX is more like a dictionary rather than a book for

Re: automatic code completion in vim

2006-12-30 Thread Mikolaj Machowski
On sob gru 30 2006, Mikolaj Machowski wrote: Do you mean create tags files for every code file, and change tags file when switching between different code files? But how to combine all of these actions to a hotkey? If ctags can provide an update option, the problem can be solved very easily

Re: automatic code completion in vim

2006-12-31 Thread Mikolaj Machowski
On nie gru 31 2006, Zheng Da wrote: but i remember that , the (enhanced) ctags do have the option to append the tag files. you can see the manual more seriously , so i think you can find it --append Yes, but they are not removing older entries. When doing corrections in file it may result

Re: automatic code completion in vim

2007-01-01 Thread Mikolaj Machowski
On pon sty 1 2007, Mikolaj Machowski wrote: Note: much faster, noticeable on big files, would be reading of tags file into buffer and just g//d proper lines and add tags at the end how to read tags into the buffer and what does g//d proper lines mean? :new somename :g/\t{filename}\t/d

Re: automatic code completion in vim

2007-01-01 Thread Mikolaj Machowski
On pon sty 1 2007, Mikolaj Machowski wrote: This won't work: you need a different variable name, see :help E706. Yeah, I forgot (not only about that). This is complete solution:: function! UpdateTags() call writefile(getline(1, '$'), '.tmp.cc', 'b') let tags

Re: .vimrc from URL

2007-01-04 Thread Mikolaj Machowski
On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on g:vimrcdate if input(Do you want to continue? ) !~? y qall! endif Since

Re: .vimrc from URL

2007-01-04 Thread Mikolaj Machowski
On pią sty 5 2007, Maurí­cio wrote: The vimrc is sourced before the global plugins, in particular before the netrw plugin. So I think the short answer is no. BTW - if netrw could directly source files over the net it could open interesting possibilities for script repositories. m.

Re: .vimrc from URL

2007-01-04 Thread Mikolaj Machowski
On pią sty 5 2007, Mikolaj Machowski wrote: Mikolaj Machowski wrote: On pią sty 5 2007, Maurí­cio wrote: Or else, have the following at the top of the vimrc: let g:vimrcdate = 4 Jan 2007 22:49 UTC echo This vimrc was last changed on g:vimrcdate if input(Do you

Re: Mac Questions

2007-01-08 Thread Mikolaj Machowski
On pon sty 8 2007, vim@vim.org wrote: I thought the same thing. But it does not appear to source my .bash_profile or .bashrc. Anyone out there got some clues...? /etc/profile /etc/bashrc ? This will be global for all users (if working :)). m.

Re: omni complete for php is really slooow

2007-01-16 Thread Mikolaj Machowski
On wtorek 16 styczeń 2007, vim users list wrote: The mail subject says it all:omni complete for php in vim7 in my PC (P4 D, 1GB Ram) is really slooow. How about omni complete for php in vim7 in in your PC? Fast or Slow??? How can I make it faster? Only for price in functionality. You can

Re: omnicompletion vs. old Ctrl-n

2007-01-18 Thread Mikolaj Machowski
On czwartek 18 styczeń 2007, vim@vim.org wrote: Hi list, I'm using vim 6.3 and was thinking about upgrading to 7.0 especially because of the new omni completion feature. But at the moment I'm not quite sure what I would gain as there is the old Ctrl-n key in insert mode which does code

Re: omni complete for php is really slooow

2007-01-18 Thread Mikolaj Machowski
On czwartek 18 styczeń 2007, Mikolaj Machowski, vim@vim.org wrote: On my Sempron2200, 512MB RAM it may be not very fast but IMO is acceptable. Looks like something is wrong with your setup. Do you use tags files? You mean ctags? Yes. I'm using it Anyway thanks for your response. I

Re: gvim and Unicode

2007-01-26 Thread Mikolaj Machowski
On sobota 27 styczeń 2007, vim@vim.org wrote: (it appears gvim assumes the documents are ISO-8859 encoded.) In addition, in the documentation and menus, I see nothing mentioned about Unicode, UTF-8 encoding, etc. :help utf-8 :help unicode m.

Re: The Seven Habits Of Effective Text Editing 2

2007-02-17 Thread Mikolaj Machowski
On sobota 17 luty 2007, VIM mail list wrote: The original seven habits of effective text editing was fascinating and useful. I am sure that I'm not the only vimmer who would be interested in hearing more about this updated version. However, I can't find any links to either a video or a

Re: The Seven Habits Of Effective Text Editing 2

2007-02-18 Thread Mikolaj Machowski
On niedziela 18 luty 2007, Jimmy Mack wrote: The slides are available here: http://www.moolenaar.net/habits_2007.pdf I'll do an announcement soon. If you spot something wrong in the notes let me know, I can still fix those. Second page: Rest of the time is spend on meetings. Shouldn't it

Re: star key separators

2007-02-25 Thread Mikolaj Machowski
On niedziela 25 luty 2007, vim@vim.org wrote: Hi list, Where are the separators defined for the star key? I mean if I press :help 'iskeyword' m.

Re: Updated Windows installer 7.0.219

2007-03-20 Thread Mikolaj Machowski
On wtorek 20 marzec 2007, vim@vim.org wrote: firewall our build machine sits behind. So I'm open to solutions for how to remove obsoletes from the file set. I had considered deleting the oldest files, but in most cases (such as the current) the files to be removed are generally newer than the

Re: Silly Question

2007-04-06 Thread Mikolaj Machowski
On piątek 06 kwiecień 2007, vim@vim.org wrote: Has anyone else heard of the vi name game? Sure :) Mikolaj just inserts kolaj at the beginning of middle line of screen. m.

Re: Folding in vim helpfiles

2007-04-06 Thread Mikolaj Machowski
On piątek 06 kwiecień 2007, vim@vim.org wrote: After looking at foldutil.vim and AutoFold.vim I'm not sure what the best way is going to be for exploiting the outline format of helpfiles to automatically create folds. Has anyone done this before? Ideally, I'd like to use this with the

Re: Silly Question

2007-04-06 Thread Mikolaj Machowski
On piątek 06 kwiecień 2007, vim@vim.org wrote: On 4/6/07, Mikolaj Machowski [EMAIL PROTECTED] wrote: On piątek 06 kwiecień 2007, vim@vim.org wrote: Has anyone else heard of the vi name game? Sure :) Mikolaj just inserts kolaj at the beginning of middle line of screen. I didn't

Re: script boolean operators

2007-04-11 Thread Mikolaj Machowski
On środa 11 kwiecień 2007, Jürgen Krämer wrote: normal G let numberofrows = line(.) oh, and the above two statements can also be replaced by let numberofrows = line($) Very good advice. normal command can cause flickering of screen when executing scripts. m.

Re: file operation in vimcommander?

2007-04-16 Thread Mikolaj Machowski
On poniedziałek 16 kwiecień 2007, vim@vim.org wrote: hi, I found vimcommander which is a wonderful file management script for vim, but when I select a file, say foo.pdf, it just open it in vim, not xpdf I expect, so I have a question, whether vimcommander can use other progam to open the

Re: omni-completion: info bug

2006-04-20 Thread Mikolaj Machowski
Dnia czwartek, 20 kwietnia 2006 13:04, Bram Moolenaar napisał: Aaron Griffin wrote: Just a heads up: Using an omni-completion dictionary, a single completion entry (for which no menu is displayed) does not update the info preview window. Yes, filling the preview window is part of the

Re: omni-completion: info bug

2006-04-20 Thread Mikolaj Machowski
Dnia czwartek, 20 kwietnia 2006 17:12, Aaron Griffin napisał: On a related note, an 'info' dict entry of '' does not change and/or remove the preview information. Using a single space blanks the window, but an empty string does not. And this is Good Thing :) m.

RFC: (x)html completion support in Vim7

2006-04-20 Thread Mikolaj Machowski
Hello, I am author of (x)html completion scripts and related (php, css, javascript). I'd like to ask what you think it should like. At the beginning I was pushing for one default: XHTML 1.0 Strict. Bram didn't like it and now there are two: fot ft='html' HTML 4.01 Transitional and for

Re: omni-completion: info bug

2006-04-20 Thread Mikolaj Machowski
Dnia czwartek, 20 kwietnia 2006 21:59, Aaron Griffin napisał: Is there any possiblity to get the preview window to pop up for single completions? If not, I can always force a single empty entry like {'word':'', 'abbr':'[Cancel]'} or some such oddity... :help completeopt menuone flag m.

  1   2   >