... In addition to all that has already been said, maybe (untested) ... would work too? (replacing any number of line breaks, as many as possible, between a...
132076
Tony Mechelynck
antoine.mechelynck@...
Jul 5, 2012 6:03 pm
... With i( Vim knows that the ( has to be before the cursor and ) after it. With i" there is no such criterion, especially in languages where line breaks are...
132077
Tim Chase
vim@...
Jul 5, 2012 6:07 pm
... the only problem is that ci" doesn't work on multi-line strings, e.g. this Python: foo = """ my cursor --> X <-- is here between the arrows """ And I'd...
132078
Tony Mechelynck
antoine.mechelynck@...
Jul 5, 2012 6:18 pm
... I checked (unlike for my preceding post), and sure enough, it is documented (under :help a" ): "Only works within one line". Best regards, Tony. -- If...
132079
Tony Mechelynck
antoine.mechelynck@...
Jul 5, 2012 6:35 pm
... What do you mean, bg=w fg=b ? I don't know about them. Try to write out your colours in full. If you define your match highlight with ctermbg=7 ctermfg=0...
132080
andy richer
andy.richer@...
Jul 6, 2012 12:59 am
Hi, In file A (using gvim version 7.0.237): ABCDEFG I highlight ABCDEFG and paste to file B (using gvim version 7.1) and get: ^@latin1^@ABCDEFG But if I paste...
132081
Nick Shyrokovskiy
nshyrokovskiy@...
Jul 6, 2012 4:26 am
... 'w' and 'b' are just some colors, white and black respectively just to introduce terms.(not terminals )) ... If it realy matters I'm using wombat256...
132082
Gautam Kotian (Googie)
gthm159@...
Jul 6, 2012 5:30 am
... I'd consider that beneficial as well, except that it doesn't remove the trailing whitespace in my case. I still have to use %s/\s\+$// to remove trailing...
132083
Martin Lundberg
martin.lundberg@...
Jul 6, 2012 6:50 am
Ok, then I know the behavior probably won't change in the near future, thanks for the answers! -- You received this message from the "vim_use" maillist. Do not...
132084
Christian Brabandt
cblists@...
Jul 6, 2012 7:41 am
Hi andy! ... Try pasting using the X11 clipboard (i.e. the + register) instead of the cut-buffer (*-register). I think, some older Vims use an predefined ...
132085
Roberto S.
rsimoni.job@...
Jul 6, 2012 8:05 am
I'm learning VIM so probably this is a simple question for you... I have created my first macro to generate getters from selected fields in a java file: au...
132086
Geert Mak
pobox@...
Jul 6, 2012 1:45 pm
Hello, I'd like to stay in vim for some Subversion operations like 'blame39;. Most subversion integration plugins I found have not been maintained for years (I...
132087
Marc Weber
marco-oweber@...
Jul 6, 2012 2:29 pm
www.vim.org/search.php -> script search. THere is vcscommand or such or more. Use the script search field and try 'svn' or 'subversion39; ... also works (don't...
132088
Hoss
todd.freed@...
Jul 6, 2012 3:12 pm
I have a buffer open. I hit /, put in a search, and the matched text, which is the text I am interested in, is highlighted. How do I yank that text, and only...
132089
Erik Falor
ewfalor@...
Jul 6, 2012 3:47 pm
... I also heartily recommend vcscommand.vim. I use it daily to cope with SVN at my job. It also works with other popular VCSes such as git and mercurial, so...
132090
Aaron Bohannon
aaron678@...
Jul 6, 2012 3:47 pm
Hi, I wanted to install a vimball without actually starting vim. So I tried this: ex -NsS my_vimball.vmb -c q It seems to work perfectly, except that I get an...
132091
Ben Fritz
fritzophrenic@...
Jul 6, 2012 3:50 pm
... Do you want to yank a single match or all matches within the range? For a single match, after searching to put the cursor where you want it, type y//e and...
132092
Ben Fritz
fritzophrenic@...
Jul 6, 2012 3:54 pm
... You can even get fancy with cabbrev to only trigger in certain circumstances: http://vim.wikia.com/wiki/Replace_a_builtin_command_using_cabbrev -- You...
132093
Ben Fritz
fritzophrenic@...
Jul 6, 2012 3:56 pm
... That would be something to take up with the plugin author. I have no idea how "blame" works in that plugin, perhaps it uses signs which must be updated as...
132094
Ben Fritz
fritzophrenic@...
Jul 6, 2012 4:04 pm
... The :command command defines a user-command which runs an ex command, not a series of normal-mode commands. You probably need to use the :normal ex...
132095
Ben Fritz
fritzophrenic@...
Jul 6, 2012 4:11 pm
... The command I gave doesn't remove trailing whitespace on non-empty lines because of the ^ anchor in the pattern. Without it, it removes trailing ...
132096
Tim Chase
vim@...
Jul 6, 2012 4:16 pm
... Even if you have a machine with 8 processors, each with 6 cores, if you're doing the editing over an SSH shell session, your redraw may be bound by the...
132097
Salman Halim
salmanhalim@...
Jul 6, 2012 4:34 pm
On Fri, Jul 6, 2012 at 12:04 PM, Ben Fritz <fritzophrenic@...> ... To summarize, what you're trying to do is to get Vim to execute your particular...
132098
Yukihiro Nakadaira
yukihiro.nakadaira@...
Jul 6, 2012 4:55 pm
... In Ex mode, any error message causes to set exit code non-zero. According to source code comment, this is for POSIX compliant. To exit with 0, use :visual...
132099
Tony Mechelynck
antoine.mechelynck@...
Jul 6, 2012 5:56 pm
... Hm, well, I don't know then. Best regards, Tony. -- Naeser's Law: You can make it foolproof, but you can't make it damnfoolproof. -- You received this...
132100
Salman Halim
salmanhalim@...
Jul 6, 2012 6:33 pm
On Wed, Jul 4, 2012 at 3:19 AM, John Beckett <johnb.beckett@...> ... I took the liberty of tweaking the function slightly to both work off multiple lines...
132101
Roy Fulbright
rfulbrig@...
Jul 6, 2012 8:51 pm
I'm tracking down an error message that says the error is at character 2310 in my input JSON file, and I need to know how to move the cursor forward 2310...
132102
Tim Chase
vim@...
Jul 6, 2012 8:59 pm
... so you'd type 2310go It's a little trickier to move forward/backward by a given number of bytes from an arbitrary starting location, but as long as you...
132103
Christian Brabandt
cblists@...
Jul 6, 2012 9:01 pm
Hi Roy! ... If your 'whichwrap39; setting contains '<,>' it shold be possible to simply use Right with the count, e.g. 2310<Right> (or as ex command: exe "norm!...
132104
Christian Brabandt
cblists@...
Jul 6, 2012 9:03 pm
Hi Tim! ... But that moves by bytes, not by characters. regards, Christian -- You received this message from the "vim_use" maillist. Do not top-post! Type your...