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...
jerikmail@...
Dec 1, 2007 10:19 am
48589
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...
jerikmail@...
Dec 1, 2007 10:24 am
48590
... 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. ...
thomas
micathom@...
Dec 1, 2007 11:22 am
48591
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...
Bram Moolenaar
Bram@...
Dec 1, 2007 4:19 pm
48592
Did not notice differences with syntax on/off. Both were equally slow. ... --~--~---------~--~----~------------~-------~--~----~ You received this message from...
govindrjujare@...
Dec 1, 2007 7:25 pm
48593
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 ... ...
Bram Moolenaar
Bram@...
Dec 1, 2007 8:13 pm
48594
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"...
Nico Weber
nicolasweber@...
Dec 1, 2007 10:24 pm
48595
... If you choose to place the regex in a string, you'll need to ... or ... -- Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ You...
Bill McCarthy
WJMc@...
Dec 1, 2007 10:37 pm
48596
... 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 ...
Nico Weber
nicolasweber@...
Dec 1, 2007 10:56 pm
48597
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: ...
Dominique Pelle
dominique.pelle@...
Dec 2, 2007 1:19 pm
48598
... 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...
Bram Moolenaar
Bram@...
Dec 2, 2007 2:12 pm
48599
... What about '^@interface\|^@end' (and maybe throw in a '\|^@class' at the end for good measure)? ... If we add the '^'s and '\|^@class', this line would be...
Nico Weber
nicolasweber@...
Dec 2, 2007 2:28 pm
48600
... 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...
Bram Moolenaar
Bram@...
Dec 2, 2007 4:22 pm
48601
... 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...
Bram Moolenaar
Bram@...
Dec 2, 2007 4:23 pm
48602
... 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 ?...
Vladimir Marek
Vladimir.Marek@...
Dec 2, 2007 11:11 pm
48603
... Does not work on Solaris. -- Vlad...
Vladimir Marek
Vladimir.Marek@...
Dec 2, 2007 11:14 pm
48604
... 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 ? ...
Yakov Lerner
iler.ml@...
Dec 3, 2007 5:24 am
48605
On Nov 18, 2007 8:26 AM, govindrjujare@... ... You may want to try different tips explained in ":help slow-terminal". -- Dominique ...
Dominique Pelle
dominique.pelle@...
Dec 3, 2007 7:14 am
48606
... I second Yakov's idea. -- Registered Linux User #445632 http://counter.li.org --~--~---------~--~----~------------~-------~--~----~ You received this...
Erik Falor
ewfalor@...
Dec 3, 2007 5:05 pm
48607
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...
Matt Wozniski
mjw@...
Dec 3, 2007 5:35 pm
48608
... 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...
thomas
micathom@...
Dec 3, 2007 5:57 pm
48609
... 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...
Matt Wozniski
mjw@...
Dec 3, 2007 6:03 pm
48610
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...
Erik Falor
ewfalor@...
Dec 3, 2007 6:08 pm
48611
... 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 ...
Erik Falor
ewfalor@...
Dec 3, 2007 6:18 pm
48612
... 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...
Matt Wozniski
mjw@...
Dec 3, 2007 6:42 pm
48613
... 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...
Charles E. Campbell, ...
drchip@...
Dec 3, 2007 7:06 pm
48614
... 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....
Matt Wozniski
mjw@...
Dec 3, 2007 7:46 pm
48615
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...
Nico Weber
nicolasweber@...
Dec 3, 2007 8:05 pm
48616
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...
Bram Moolenaar
Bram@...
Dec 3, 2007 8:33 pm
48617
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...