... Playing around with :promptrepl (the underlying command), it looks like the *search* portion of it is happy to take various regexps. However the...
131262
Ben Fritz
fritzophrenic@...
May 24, 2012 2:56 pm
... I tried replacing tabs, and also replacing newlines, with the GUI dialog (Edit->Find an Replace...) Entering \t as the "Find what" pattern and " " (two...
131263
Paul
paul.domaskis@...
May 24, 2012 3:40 pm
... That may be true, its been too long for me to remember. But they do look in different locations for the pan-users vimrc. ... I use the has("...") alot in...
131264
Roy Fulbright
rfulbrig@...
May 24, 2012 5:21 pm
... try this: Find what: \n Replace with: \="\x20" to replace all newlines with a space -- You received this message from the "vim_use" maillist. Do not...
131265
Bob von Knobloch
bob@...
May 24, 2012 5:29 pm
... Nope, the text ' \="\x20" ' gets inserted literally. Thanks anyway, Bob -- The Sun is out, the sky is blue, it's time to drive the MR2. -- You received...
131266
Pablo Giménez
pablogipi@...
May 24, 2012 5:59 pm
I want to use SuperTab continued with UtiSnips. So first thing Iwant to do is to not have SuperTab mapping any key at all. Is that possible? There are several...
131267
Christian Brabandt
cblists@...
May 24, 2012 8:15 pm
Hi Bob! ... Not possible, the replace text is escaped: ,----[ gui.c ]- ... `---- Here is an experimental patch against the gtk gui, that adds an extra flag,...
131268
richard emberson
richard.emberson@...
May 24, 2012 11:00 pm
Is there a resource concerning the writing of optimized Vim scripts (both memory usage and performance). For instance: Should variable name be short? Should...
131269
Marc Weber
marco-oweber@...
May 24, 2012 11:01 pm
... What machine are you running Vim on? Seriously, don't bother about it - do what fits your mind best else use assembler to safe some resources. What really...
131270
Tony Mechelynck
antoine.mechelynck@...
May 25, 2012 2:18 am
... If the menus don't do what you want, use the keyboard. Typing ... followed by Enter (no /g needed since there can be only one end-of-line per line) will...
131271
hilal Adam
hilaldm@...
May 25, 2012 3:59 am
Sorry I bring this up again. My difficulty is with installing cscope and getting it to run. Per the documentation, I have added this line into cscope_maps.vim:...
131272
Tony Mechelynck
antoine.mechelynck@...
May 25, 2012 5:49 am
... 1. You need to know what directory was current when creating cscope.out. If different from the current directory, it must be given as an additional...
131273
Bob von Knobloch
bob@...
May 25, 2012 7:38 am
... <snip> ... Thanks Tony, I know how to use the keyboard to get what I want done, it just niggles when the gui doesn't work the same way, especially when I'm...
131274
Bob von Knobloch
bob@...
May 25, 2012 7:47 am
... Thanks Christian, I really wanted to know if I had missed something. This demonstrates that the gui cannot replace these characters. I don't want to build...
131275
Tony Mechelynck
antoine.mechelynck@...
May 25, 2012 9:17 am
... Maybe it is. With Vim, the whole menu subsystem is a kind of aftersight, sometimes that was added after-the-fact, even though in a console Vim compiled...
131276
Chris Jones
cjns1989@...
May 25, 2012 9:32 am
... Search/replace behavior in the GUI is not only different than in the console version but appears to lead to inconsistencies: try a search ‘.*’ for...
131277
John Degen
degenesdal@...
May 25, 2012 9:41 am
... Does it indicate the current directory? It's difficult searching the help for just a ".";) -- You received this message from the "vim_use" maillist. Do not...
131278
Christian Brabandt
cblists@...
May 25, 2012 9:47 am
... I think the search/replace dialog uses the \V atom to make the search "very nomagic", so you need to use \.\* It seems the windows version of the replace...
131279
Christian Brabandt
cblists@...
May 25, 2012 9:49 am
... It's a range. See :h range and in your case means to only append the current line found by the :g command into the file errors.txt regards, Christian -- ...
131280
Chris Jones
cjns1989@...
May 25, 2012 9:49 am
... '.' is the line under the cursor ... CJ -- Oh My God!!! Larry is back! -- You received this message from the "vim_use" maillist. Do not top-post! Type your...
131281
Chris Jones
cjns1989@...
May 25, 2012 10:01 am
... Yes, I didn't mention it in my post but I did check the GUI's setting by a ‘:set magic?’ and noticed that it was (recommended for portability39;s sake by...
131282
BPJ
bpj@...
May 25, 2012 10:01 am
... paps is your friend, more exactly paps|lpr You can do paps file.txt | lpr but I don't really like all the paps defaults so I've written a wrapper around...
131283
Chris Jones
cjns1989@...
May 25, 2012 10:06 am
... oops.. s/when he's trying/when he's *not* trying/ CJ -- Alex Perez is aliveeeeeeee!!! -- You received this message from the "vim_use" maillist. Do not...
131284
John Beckett
johnb.beckett@...
May 25, 2012 11:22 am
... Others have explained that '.' is a range specifying the current line. However, the reason it is needed is that the :w command assume a default range of...
131285
Ben Fritz
fritzophrenic@...
May 25, 2012 2:01 pm
... Well, there's this in todo.txt: 7 More features in the find/replace dialog: - regexp on/off - search in selection/buffer/all buffers/directory when all...
131286
qfwfq
veranda.marco@...
May 25, 2012 2:07 pm
I want to install the latex suite plugin and I'm forced not to use apt-get. So I downloaded the plugin source from ...
131287
Ben Fritz
fritzophrenic@...
May 25, 2012 2:11 pm
... Yes...kind of. The code for the GUI automatically inserts \V in the search pattern, which is a flag for "very nomagic", which is not even settable via an...
131288
Chris Jones
cjns1989@...
May 25, 2012 7:08 pm
... I meant the value of the ‘foldmethod’ Vim option. What does ‘:set fdm?’ tell you? ... The script sets the fdm option to ‘expr’ for the current...
131289
Chris Jones
cjns1989@...
May 25, 2012 7:17 pm
... [..] ... So it appears to be.. Maybe the doc should mention that ‘very nomagic’ that is the default option when you do a search via the GUI dialog. I'd...
131290
Tim Chase
vim@...
May 25, 2012 7:27 pm
... The docs for :promptrepl should also include that the replacement is a literal, not making use of any metachars such as "&" or "\". -tim -- You received...