Tuesday, December 13, 2011

Re: silent not so silent...

On Dec 13, 12:24 am, "Christian Brabandt" <cbli...@256bit.org> wrote:
> On Tue, December 13, 2011 3:25 am, Chris Lott wrote:
> > I have the following in my .vimrc
> > noremap <leader>mp :silent !markdown2pdf -o %:r.pdf %:r.mtxt \| open
> > -a /Applications/Adobe\ Acrobat\ X\ Pro/Adobe\ Acrobat\ Pro.app/
> > %:r.pdf<CR>
>
> > It works, but the command shows in the cmd area and when I return to
> > vim I have to "press ENTER or type command to continue" -- I expected
> > silent would stop that from happening? Is there some other way to do
> > this?
>
> :h :map-silent
>

And for the "press enter" part,

http://vim.wikia.com/wiki/Avoid_press_enter

--
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

No comments: