Hi John! On Fr, 12 Feb 2010, John Magolske wrote:
> I'm trying to write a mapping that'll open a help topic in another > GNU Screen tty, so that for example this: > > :H <topic> > > will open another Screen tty with the help page for <topic> displayed > full screen. I tried: > > command -nargs=+ H :!screen -t 'Vim-help' vim -c help > > But that just opens another tty with Vim displaying a help screen > for *help.txt* regardless of what is input for <topic>. How can a > Vim ':command' argument be passed through Screen to the other Vim > instance? > > I realize something like the following will need to be in there too: > > :set helpheight=999 I would try this: com! -complete=help -nargs=1 H :!screen -t 'Vim-help' vim -c 'help <args>' -c 'only' (one line) regards, Christian -- hundred-and-one symptoms of being an internet addict: 91. It's Saturday afternoon in the middle of may and you are on computer. -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
