-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/03/2012 10:52, Thor Andreassen wrote:
> On Fri, Mar 09, 2012 at 07:05:58PM +0000, Phil Dobbin wrote:
>> Hi, all.
>>
>> I quite often send various man pages & the like to Vim like so:
>>
>> `$ man foo | ul -i | vim -`
> 
> Not exactly what you asked for, but here is how I do it. In my .vimrc
> I've got:
> 
> source $VIMRUNTIME/ftplugin/man.vim
> 
> which makes the Man command available. In my shell startup file I define
> a function that will open the man page in vim, something like this:
> 
> manvim() { vim -c "Man $1" -c 'silent! only'; }

Hi, Thor.

This is getting curiouser & curiouser; that won't work for me either.

I've appended the first line into my ~/.vimrc & the second to my
~/.bashrc (this on Linux).

Cheers,

  Phil...

- -- 
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

        Wm. Shakespeare - Much Ado About Nothing


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPXzSuAAoJEKpMeDHWT5ADUaoIAJc1Pl9WmSGxIM2GR52F+4TB
eDJtbjdEhm0KyPEuu1hVcj0rJgU1Yl0FnZpx1h1NLh0Gb1UPw7UkDmBl5yWWNWHo
kvk9ulXNmLoiTO+SJqyZMwlZpVb9OkbOWsE3b0Ifk3i/JGroc9W0XlcPnYSjS0Cl
hsysF00AoPtCzqfO7sI/vh1HKOrnGirU5unLIq2wegRGwYqfF3rsrEKxNb9rDKvY
g+Ux3Wp4G1VaglhnHSiVWtrXz2hm3kI7yfttwW7u8TxUj5xaqKI8241Visz6kYVs
OcJPZ0o4YVO8p9fGF9O/IEqb2T1trVCyxWvepLYF41Pw7GXGsuUIjMJgN47lmVI=
=tquT
-----END PGP SIGNATURE-----

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

Reply via email to