Rodolfo Borges wrote:
I did the following command to open man pages inside Vim:
nmap K :Man C-RC-WCR
command! -bar -nargs=1 DoMan %!/usr/bin/man -P cat args
command! -bar -nargs=1 Man
\ new
\| DoMan args
\| %s/.^H//g
\| set filetype=man
\| goto 1
\| set buftype=nofile
It works nice,
Yakov Lerner wrote:
On 8/21/06, Rodolfo Borges [EMAIL PROTECTED] wrote:
I did the following command to open man pages inside Vim:
nmap K :Man C-RC-WCR
command! -bar -nargs=1 DoMan %!/usr/bin/man -P cat args
command! -bar -nargs=1 Man
\ new
\| DoMan args
\| %s/.^H//g
\| set filetype=man
I did the following command to open man pages inside Vim:
nmap K :Man C-RC-WCR
command! -bar -nargs=1 DoMan %!/usr/bin/man -P cat args
command! -bar -nargs=1 Man
\ new
\| DoMan args
\| %s/.^H//g
\| set filetype=man
\| goto 1
\| set buftype=nofile
It works nice, but I want also to be able
Rodolfo Borges wrote:
I did the following command to open man pages inside Vim:
nmap K :Man C-RC-WCR
command! -bar -nargs=1 DoMan %!/usr/bin/man -P cat args
command! -bar -nargs=1 Man
\ new
\| DoMan args
\| %s/.^H//g
\| set filetype=man
\| goto 1
\| set buftype=nofile
It works nice, but
On 8/21/06, Rodolfo Borges [EMAIL PROTECTED] wrote:
I did the following command to open man pages inside Vim:
nmap K :Man C-RC-WCR
command! -bar -nargs=1 DoMan %!/usr/bin/man -P cat args
command! -bar -nargs=1 Man
\ new
\| DoMan args
\| %s/.^H//g
\| set filetype=man
\| goto 1
\| set
Rodolfo Borges wrote:
On 8/21/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Since DoMan (and Man) accept only one argument, separating spaces must
be escaped, which means you cannot do it with the above K mapping.
Oh, really?
I never thought such a thing (that is, you cannot do something)
would