Re: Redirection of

2016-06-06 Thread Ni Va
On Sunday, June 5, 2016 at 7:49:23 PM UTC+2, ZyX wrote: > 2016-06-05 18:33 GMT+03:00 Ni Va : > > Hi, > > > > I am using vim7.4 and wonder why it is netrw that is called by default when > > I type :e mydir. > > > > When I type :command E, this output this list > > :command E >

Re: Redirection of

2016-06-05 Thread Nikolay Aleksandrovich Pavlov
2016-06-05 18:33 GMT+03:00 Ni Va : > Hi, > > I am using vim7.4 and wonder why it is netrw that is called by default when I > type :e mydir. > > When I type :command E, this output this list > :command E > NameArgs Address Complete Definition > ! E

Re: Redirection of :e to VimFilerExplorer

2016-06-05 Thread Ni Va
On Sunday, June 5, 2016 at 5:35:08 PM UTC+2, Ni Va wrote: > Hi, > > Would like when I type :e to call that : > > exe 'VimFilerExplorer -winwidth=45 -explorer-columns=type:size:time > -parent ' . path > > > I think I have to redefined :e > Thank you I have tried this : command! -nargs=*

Redirection of :e to VimFilerExplorer

2016-06-05 Thread Ni Va
Hi, Would like when I type :e to call that : exe 'VimFilerExplorer -winwidth=45 -explorer-columns=type:size:time -parent ' . path I think I have to redefined :e Thank you -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you

Redirection of

2016-06-05 Thread Ni Va
Hi, I am using vim7.4 and wonder why it is netrw that is called by default when I type :e mydir. When I type :command E, this output this list :command E NameArgs Address Complete Definition ! E *0c dir ! EditFile1

Re: Real time redirection of command output to window/buffer

2013-11-26 Thread lujing zui
在 2008年3月12日星期三UTC+8上午4时47分05秒,EricT写道: Does Vim have a mechanism for piping the output of a long running process to a buffer in real time? I have same thought to realize this effect. because I want look output of my program and keep ongoing to modify my code. first I search sth like simple

Re: problem: redirection of global print to register

2012-06-15 Thread Jürgen Krämer
is that :global marks both for further processing and then prints the first line and stops redirection, then prints the second line and again stops (the already stopped) redirection. Effectively you are telling Vim to only capture the first line that matches the pattern after :global. Once again if I issue

Re: problem: redirection of global print to register

2012-06-15 Thread Christian Brabandt
On Fri, June 15, 2012 09:57, Nick Shyrokovskiy wrote: On Friday, June 15, 2012 8:32:44 AM UTC+3, Christian Brabandt wrote: Do you mean, you see something different, than what is redirected? I can't reproduce this. I'll give an example. Say initially I have a buffer: --buffer-- a1 a2

Re: problem: redirection of global print to register

2012-06-15 Thread Nick Shyrokovskiy
Thank you for explanation and suggestion. I really need to :h :bar -- 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/maillist.php

Re: problem: redirection of global print to register

2012-06-15 Thread Nick Shyrokovskiy
On Friday, June 15, 2012 11:23:58 AM UTC+3, Christian Brabandt wrote: To prevent this, you can use :exe if you want to put this in one single line, e.g. :redir @c|exe g/a./|redir END I've learned a better way to make it one line from help: :redir @c | g/a./^@redir END where ^@ is one

Re: problem: redirection of global print to register

2012-06-15 Thread Ben Fritz
On Friday, June 15, 2012 5:00:27 AM UTC-5, Nick Shyrokovskiy wrote: On Friday, June 15, 2012 11:23:58 AM UTC+3, Christian Brabandt wrote: To prevent this, you can use :exe if you want to put this in one single line, e.g. :redir @c|exe g/a./|redir END I've learned a better way to make

problem: redirection of global print to register

2012-06-14 Thread Nick Shyrokovskiy
Hi. When I print result of the execution of global command into register: :redir @a :g/pattern/ :redir END and then insert the register in buffer ap I get only the first line of the result, when screen output is multiline. -- You received this message from the vim_use maillist. Do not

RE: !start /b command and file redirection

2011-06-21 Thread John Beckett
Ben Fritz wrote: I know I can use the chcp command in a cmd.exe shell to output the current encoding, so prior to patch 203, I had a system() command which grabs the output of this command in my .vimrc. However, as a side effect, every time I launch Vim with this call in the .vimrc, a cmd.exe

Re: !start /b command and file redirection

2011-06-21 Thread Benjamin Fritz
On Tue, Jun 21, 2011 at 2:00 AM, John Beckett johnb.beck...@gmail.com wrote: Ben Fritz wrote: I know I can use the chcp command in a cmd.exe shell to output the current encoding, so prior to patch 203, I had a system() command which grabs the output of this command in my .vimrc. However, as a

!start /b command and file redirection

2011-06-20 Thread Ben Fritz
I was excited to try the new /b option added to the :!start command, which runs an external command without launching a cmd window. When I tried it, however, I discovered that I cannot get the output of this command to a temporary file using file redirection as I expected. Looking at the help

Re: !start /b command and file redirection

2011-06-20 Thread Ben Fritz
workaround I used !start /b with command redirection to a temporary file and Vim's client-server functions to read in the output without opening a shell window. But then I ran into the problem detailed in my original post: !start / b does not allow redirection to a file. -- You received