On Sep 8, 4:50 pm, 张小潘 wrote:
> Hi there,
>
> I am developing some scripts around Vim's error window (a.k.a. quickfix
> window), such as doing smart thing to open a file other than the default
> logic of key. One nice feature of the is that it will highlight
> the selected line in the error
On 09/08/11 16:39, dmbfm wrote:
Hey guys. I'm running vim 7.3.35 on Ubuntun 11.04. And when I
type
:%s/this/that/
n
or
:%s/this/that/g
I get the same result, i.e., it always replaces every 'this'
in the file for 'that'. Shouldn't the fist command replace
only the first occurance of 'that'?
Hey guys. I'm running vim 7.3.35 on Ubuntun 11.04. And when I type
:%s/this/that/
n
or
:%s/this/that/g
I get the same result, i.e., it always replaces every 'this' in the file for
'that'. Shouldn't the fist command
replace only the first occurance of 'that'?
Thanks,
here's my .vimrc:
-
This works if you copy the file to be pasted in visual block
mode.
--
- Eric Smith
Eric Smith said:
> I want to concatenate files side by side or laterally.
>
> I guessed (wrongly) that I could go into virtualedit=all mode
> and then just paste the new file into the space to the right of
> the
I want to concatenate files side by side or laterally.
I guessed (wrongly) that I could go into virtualedit=all mode
and then just paste the new file into the space to the right of
the current file.
How would I do this?
--
- Eric Smith
--
You received this message from the "vim_use" maillist
On 14:50 Thu 08 Sep , 张小潘 wrote:
> Hi there,
>
> I am developing some scripts around Vim's error window (a.k.a. quickfix
> window), such as doing smart thing to open a file other than the default
> logic of key. One nice feature of the is that it will highlight
> the selected line in the e
Hi there,
I am developing some scripts around Vim's error window (a.k.a. quickfix
window), such as doing smart thing to open a file other than the default
logic of key. One nice feature of the is that it will highlight
the selected line in the error window, which I definitely want the script
c
>
> You could use the Vim netbeans interface. The Vim netbeans interface
> allows editing or/and monitoring Vim buffers. The ":nbkey" command can
> be used to send any text (no key mapping is required) over the
> netbeans socket as a "keyCommand" event and as a "keyAtPos" event.
>
Think I've be
Found this interesting thread back in 2007, Bram Moolenaar himself had
commented too:
http://vim.1045645.n5.nabble.com/Python-crash-td1160989.html
the same exact question, saving mentioning that it's about the X
system. The test code in that post gives the following message on my
computer:
Rend
On Thu, Sep 8, 2011 at 1:33 PM, Jacky Liu wrote:
> ...
> Basically, I want to use Vim as an UI to my own program, or as many
> programs as I can make it. This shouldn't be what Vim stands against I
> suppose, for Vim already has built-in support for programs like gdb, I
> was just trying to extend
OK, I had to download the gnome development package. now it compiles
with gui.
Thank You
Joachim
--
Joachim Hofmann
Systementwickler
TopTarif.de
Sparen bei Verträgen
Dr. Rainer Brosch
Geschäftsführer
TopTarif Internet GmbH, Pappelallee 78-79, D-10437 Berlin
Tel.: (030) 417 17 847 | Mobil: (0
Ah, I just realized what was messing with my muscle memory: gq} goes
to the end of the paragraph while y} does not.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillis
On Thursday, September 08, 2011 05:11:44 Joachim Hofmann wrote:
> Hello,
> I cannot figure out how to make gvim.
> I downloaded with mercurial.
> The following creates vim (7.3.289), but not gvim.
> $make distclean
> $./configure --with-features=huge --enable-gui=gnome2
> $make
> What am I mis
>
> I know the problem. The following code works well:
>
> " x-bug.vim
>
> python << EOF
>
> import threading
> import time
>
> print('thread 1')
>
> def print_to_vim():
> print('thread 2')
>
> a = threading.Thread(target=print_to_vim, args=())
>
> a.daemon = False
>
> print('thread 1 again')
On 09/06/2011 01:40 AM, Jacky Liu wrote:
Hi everyone
I need multi-threading in Vim because I need some work being done
under the desk without turning Vim into a "zombie", now I know Vim is
single-threaded, so I decided to give Python a try, demonstration:
" x-bug.vim
python3<<
On 09/06/2011 01:40 AM, Jacky Liu wrote:
" x-bug.vim
python3<< EOF
import threading
import time
print('thread 1')
def print_to_vim():
print('thread 2')
threading.Thread(name='test', target=print_to_vim).start()
>
> To accomplish this I'd like to use a dedicated thread(preferably a
> Python thread) to keep polling from the external process in question.
>
lith mentioned using a separate python/ruby process for listening in
another thread,
http://groups.google.com/group/vim_use/browse_thread/thread/ae32d6
On Sep 7, 4:07 pm, lith wrote:
> hi,
>
> i guess you could use python/ruby and fork a process that listens to a
> connection. since fork probably isn't supported on windows, in order to
> provide a cross-platform solution you might have to start an app (e.g. a
> second intance of vim) that kn
Finally, Thanks to AK and Ben. I've been through this topic for a
while, let me explain what I was having in mind:
Basically, I want to use Vim as an UI to my own program, or as many
programs as I can make it. This shouldn't be what Vim stands against I
suppose, for Vim already has built-in suppo
Hi Joachim!
On Do, 08 Sep 2011, Joachim Hofmann wrote:
> I cannot figure out how to make gvim.
>
> I downloaded with mercurial.
> The following creates vim (7.3.289), but not gvim.
>
> $make distclean
> $./configure --with-features=huge --enable-gui=gnome2
> $make
>
> What am I missing?
http:
Hello,
I cannot figure out how to make gvim.
I downloaded with mercurial.
The following creates vim (7.3.289), but not gvim.
$make distclean
$./configure --with-features=huge --enable-gui=gnome2
$make
What am I missing?
Thank You
Joachim
Ubuntu 11.04
gnome 2.32.1
--
You received this messa
21 matches
Mail list logo