Hi, ... May be `. will help you. ... Regards, -- - Sylvain Viart - - Blainville - Canada - Je parle aussi le français....
34861
Luc Hermitte
hermitte@...
Dec 1, 2002 12:49 pm
Hello Sylvain, ... Exactly. ... Not necesserally. Some of us write plugins intended to be used by other plugins. Often we also write a documentation. ... ...
34862
yahoogroups@...
Dec 1, 2002 1:56 pm
I downloaded a nice colorscheme from vim.sf.net. I most of the colors it has, but I want to change the colors of a couple of highlight groups. Short of...
34863
Piet Delport
pjd@...
Dec 1, 2002 6:42 pm
... It works here, FWIW... Have you tried :norm! instead of :norm, just for in case? -- Piet Delport Today's subliminal thought is:...
34864
Piet Delport
pjd@...
Dec 1, 2002 6:47 pm
... want to edit the original, make a file named something like colors/foo_mod.vim, which sources foo.vim and then applies your changes. -- Piet Delport ...
34865
Yegappan Lakshmanan
yegappan@...
Dec 1, 2002 8:21 pm
... After the call to the input() function, you should use echo "\n" to output a newline character. I had the same problem with several of my plugins. I...
34866
Benji Fisher
benji@...
Dec 1, 2002 9:12 pm
... I do not think this can be done. There are some tricks: using ... /execute and the :Line command in foo.vim for examples. ...
34867
Benji Fisher
benji@...
Dec 1, 2002 9:15 pm
... I think that ... with :source both copies of foo.vim . I would probably use Piet Delport's solution, though. HTH --Benji Fisher...
34868
David Goggin
davidgoggin@...
Dec 1, 2002 9:36 pm
Hello Sylvain, ... [...] ... It certainly does ... I believe this variation does specifically what the OP asked... ... -- Best regards, David ...
34869
Xiangjiang Ma
maxiangjiang@...
Dec 1, 2002 10:58 pm
Hi, I am trying to build a little intelligent map: if(my_pc_is_connected) map ... else map ... endif But, how to do detection? Thanks -- Xiangjiang Ma ...
34870
Piet Delport
pjd@...
Dec 1, 2002 11:38 pm
... You'll probably need to call some external command, appropriate for the OS you're on. On Unix, you can do something like: if (system('ifconfig') =~...
34871
Todd Musall
tmusall@...
Dec 2, 2002 12:37 am
Sylvain, I know about `. but that isn't what I'm after. Suppose I have a buffer and I've inserted a new word in lines 2, 7, and 14. Undo certainly knows these...
34872
Srinath Avadhanula
srinath@...
Dec 2, 2002 1:33 am
Hello, Recently, I noticed that the behavior of a vim script file changes based on what encoding the user is currently using. I tried reading the encoding...
34873
Sylvain Viart
viart.sylvain@...
Dec 2, 2002 2:21 am
Hi, ... In this message http://groups.yahoo.com/group/vim/message/34855 I've copied a piece of vim code to get the <SID> of a script. Here how it could be...
34874
Sylvain Viart
viart.sylvain@...
Dec 2, 2002 2:32 am
Hi Todd, ... So you may tell the answer. If undo can bring your change back, you could try to undo / redo the changes and try to match the line. You can also...
34875
Steve Hall
digitect@...
Dec 2, 2002 2:36 am
... I just went through this with our scripts. I found that any character with a decimal value above 127 is asking for trouble outside of &encoding=latin1. So...
34876
Sylvain Viart
viart.sylvain@...
Dec 2, 2002 3:02 am
Hi Luc, ... I've seen user documentation and that's very good. :) But I never seen developer documentation. And that's pretty normal, because script are rarely...
34877
Steve Hall
digitect@...
Dec 2, 2002 3:10 am
... ;) Heh, tricky indeed--in two months I'll never remember how it works! Suppose I could just make them <shudder> globals. (But thanks for the example, I've...
34878
Steve Hall
digitect@...
Dec 2, 2002 3:33 am
... Vim help is sprinkled with some of these but a "Vim Standard Library Guidelines" doc might be a good place to start. Here's a few of mine: * Don't ever use...
34879
Antoine J. Mechelynck
antoine.mechelynck@...
Dec 2, 2002 3:37 am
ipconfig exists in Win98 too. See below is what I get (in French) Tony. C:\WINDOWS>ipconfig Configuration IP de Windows 98 0 - Carte Ethernet : Adresse IP. ....
34880
Antoine J. Mechelynck
antoine.mechelynck@...
Dec 2, 2002 4:11 am
... Maybe it works for you, Steve, because you never use any single-byte encoding other than Latin1. But if you write scripts for general consumption, beware...
34881
Gary Johnson
garyjohn@...
Dec 2, 2002 5:49 am
I've been writing a filetype plugin and trying to follow the guidelines in "write-plugin" and "write-filetype-plugin". I'm confused about lines 23 and 27 of...
34882
BStrohhaecker@...
Dec 2, 2002 8:59 am
Von: Derek Wyatt [mailto:wyatt@...] Gesendet: Freitag, 29. November 2002 15:44 ... solution. ... [...] I've no idea how to do this with pure VIM. But...
34883
Praveen Jalem
venkat.praveen@...
Dec 2, 2002 11:56 am
hi i want to write a string 'test' after every 4th character on a line. e.g. '123456789111111' shud be changed to '1234test5678test9111test111' Any suggestion...
34884
BStrohhaecker@...
Dec 2, 2002 12:11 pm
Von: Praveen Jalem [mailto:venkat.praveen@...] Gesendet: Montag, 2. Dezember 2002 12:55 ... Try ':s/\(....\)/\1test/g' or ':s/\(.\{4}\)/\1test/g' See...
34885
Praveen Jalem
venkat.praveen@...
Dec 2, 2002 12:14 pm
It worked thanx -praveen...
34886
Jürgen Krämer
jkraemer@...
Dec 2, 2002 12:15 pm
Hi, ... Regards, Jürgen -- Jürgen Krämer Softwareentwicklung Habel GmbH...
34887
Brett Pershing Stahlman
brett.stahlman@...
Dec 2, 2002 5:07 pm
... From: Jürgen Krämer <jkraemer@...> To: vim mailing list <vim@...> Sent: Monday, December 02, 2002 6:12 AM Subject: Re: writing a string after...
34888
Todd Musall
tmusall@...
Dec 2, 2002 11:10 pm
Sylvain, I'm trying to place a sign on each line that has changed since the last buffer save. I know you can see changes in a buffer using diff against the...
34889
kbosau@...
Dec 3, 2002 3:34 am
Hi, I'd like to create a normal mode mapping one can control by a number that has to be typed in prior to hitting the mapped key... function! f() Do something...