Friday, May 24, 2013

Re: How open help in the current window?

Peng,

On Friday, May 24, 2013 11:45:21 AM UTC+2, Peng Yu wrote:
> When I open help by ":help", it will add a new window for help. Is
> there a way to replace the current window with help? Thanks.

I have this mapping in my vimrc:

" Open help in a separate tab with <F1>
noremap <F1> :<C-U>tab help<CR>

This way I can just hit <F1> for full-screen help.

David

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: