Hi, [.w !foo.sh explanation] ... Right now, it works fine for me with the assigned command-line arguments. Furthermore I dont know how to write a shell/ruby...
48589
jerikmail@...
Dec 1, 2007 10:24 am
Hi, I am wondering if it is possible to map shortcuts only to a special scope (= filetpye = foo) For Example: CTRL+N in Insert Mode. I want to map this...
48590
thomas
micathom@...
Dec 1, 2007 11:22 am
... If by scope you mean the buffer's filetype, you could put the map command in after/ftplugin/foo.vim and user the <buffer> argument. ... HTH Thomas. ...
48591
Bram Moolenaar
Bram@...
Dec 1, 2007 4:19 pm
Patch 7.1.165 Problem: Crash related to getting X window ID. (Dominique Pelle) Solution: Don't trust the window ID that we got in the past, check it every...
48592
govindrjujare@...
Dec 1, 2007 7:25 pm
Did not notice differences with syntax on/off. Both were equally slow. ... --~--~---------~--~----~------------~-------~--~----~ You received this message from...
48593
Bram Moolenaar
Bram@...
Dec 1, 2007 8:13 pm
Patch 7.1.166 Problem: Memory leak for using "gp" in Visual mode. Solution: Free memory in put_register(). (Dominique Pelle) Files: src/ops.c ... ...
48594
Nico Weber
nicolasweber@...
Dec 1, 2007 10:24 pm
Hi, `:echo match("ip", "i\|p")` results in "-1" (ie. no match). I'd expect that I get "0" as the pattern matches right at the start of the string ("i" is "i"...
48595
Bill McCarthy
WJMc@...
Dec 1, 2007 10:37 pm
... If you choose to place the regex in a string, you'll need to ... or ... -- Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ You...
48596
Nico Weber
nicolasweber@...
Dec 1, 2007 10:56 pm
... Thanks :-) Attached is a patch to filetype.vim that adds objc detection for .h files. I don't know if this is of general interest, but I think so. Nico ...
48597
Dominique Pelle
dominique.pelle@...
Dec 2, 2007 1:19 pm
Hi I can reproduce a vim bug filed in Ubuntu launchpad using the latest vim-7.1 (Patches 1-166). Here is a link to the original bug description: ...
48598
Bram Moolenaar
Bram@...
Dec 2, 2007 2:12 pm
... I wonder how often the detection will fail. "@interface" and "@end" could appear in a comment of a C or C++ file, at least. Esp. when using something...
48599
Nico Weber
nicolasweber@...
Dec 2, 2007 2:28 pm
... What about '^@interface92;|^@end39; (and maybe throw in a '\|^@class' at the end for good measure)? ... If we add the '^'s and '\|^@class', this line would be...
48600
Bram Moolenaar
Bram@...
Dec 2, 2007 4:22 pm
... That's a good restriction. Suppose a .h file is C++ and recognized as objective C, how bad would the effect be? I assume that objective C is quite similar...
48601
Bram Moolenaar
Bram@...
Dec 2, 2007 4:23 pm
... I can reproduce it. Looks like a problem with the matchparen plugin when getting a syntax ID, combined with the syntax stack being wrong. This will be...
48602
Vladimir Marek
Vladimir.Marek@...
Dec 2, 2007 11:11 pm
... I guess that cat-ing file, or viewing it in less is faster than vim, isn't it ? That would probably mean that we use the terminal somehow in-efficiently ?...
48603
Vladimir Marek
Vladimir.Marek@...
Dec 2, 2007 11:14 pm
... Does not work on Solaris. -- Vlad...
48604
Yakov Lerner
iler.ml@...
Dec 3, 2007 5:24 am
... Maybe a patch to add getpid() function to vimscript is not bad idea ? Even without relation to Charles ciphering troubles. Can this be added to the todo ? ...
48605
Dominique Pelle
dominique.pelle@...
Dec 3, 2007 7:14 am
On Nov 18, 2007 8:26 AM, govindrjujare@... ... You may want to try different tips explained in ":help slow-terminal". -- Dominique ...
48606
Erik Falor
ewfalor@...
Dec 3, 2007 5:05 pm
... I second Yakov's idea. -- Registered Linux User #445632 http://counter.li.org --~--~---------~--~----~------------~-------~--~----~ You received this...
48607
Matt Wozniski
mjw@...
Dec 3, 2007 5:35 pm
On Nov 28, 2007 5:23 PM, Charles E Campbell Jr wrote:
>â‹…
> Hello!
>â‹…
> I don't see any way to encrypt/decrypt strings in the vim function
> library, but...
48608
thomas
micathom@...
Dec 3, 2007 5:57 pm
... This assumes an attack that is specifically targeted at an individual vim user using a specific version of the netrw plugin. This isn't the most likely...
48609
Matt Wozniski
mjw@...
Dec 3, 2007 6:03 pm
... 1. I daresay that most attacks are specific to a particular version of a piece of software. 2. This entire discussion seems to be based upon an attack...
48610
Erik Falor
ewfalor@...
Dec 3, 2007 6:08 pm
On 30/11/2007, Yakov Lerner <iler.ml@...> wrote: On windows, somebody should know name of the library and ... Provided, of course, that every install of...
48611
Erik Falor
ewfalor@...
Dec 3, 2007 6:18 pm
... netrw doesn't only handle FTP transfers. Better types of traffic are supported. I just don't like the idea that my password is sitting in a global vim ...
48612
Matt Wozniski
mjw@...
Dec 3, 2007 6:42 pm
... That's a very good point (and I hadn't thought of core files) but you also point out two important considerations: first, that even laying aside the fact...
48613
Charles E. Campbell, ...
drchip@...
Dec 3, 2007 7:06 pm
... Yes, I've done that for v116g. ... Assuming that I have an encrypt/decrypt function pair, the pid could be used as a single-session p/w that would be...
48614
Matt Wozniski
mjw@...
Dec 3, 2007 7:46 pm
... Glad to hear it. :) ... Sure, I understand that you could use it as a key to encrypt the password, but what I'm really asking is what you gain from that....
48615
Nico Weber
nicolasweber@...
Dec 3, 2007 8:05 pm
Hi, I'm using the Taglist plugin version 4.5. If I open a taglist window with `:Tlist` in one tab, switch to another tab and back again, I get Error detected...
48616
Bram Moolenaar
Bram@...
Dec 3, 2007 8:33 pm
Patch 7.1.167 Problem: Xxd crashes when using "xxd -b -c 110". (Debian bug 452789) Solution: Allocate more memory. Fix check for maximum number of...
48617
Bram Moolenaar
Bram@...
Dec 3, 2007 9:21 pm
Patch 7.1.168 (extra) Problem: Win32 GUI: Since patch 7.1.095, when the Vim window does not have focus, clicking in it doesn't position the cursor. (Juergen...