Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

改进 Man 的使用 #75

Open
adah1972 opened this issue Jul 18, 2017 · 0 comments
Open

改进 Man 的使用 #75

adah1972 opened this issue Jul 18, 2017 · 0 comments

Comments

@adah1972
Copy link

比使用 nmap 更好的方式应该是直接使用 Vim 内置的 keywordprg 选项和 K 命令。如果设置

:set keywordprg=:Man

你可以把光标移到关键字上,单击 K(大写)来查 man。如果有多个 man page 的话,把数字打在 K 前面,如 1K3K 等。这样应该比你的设定更为方便。

另外,谢谢你告诉我有 man.vim 这个插件。我以前知道 Kkeywordprg,但不知道这个插件。两者联用,威力才更大。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant