From 2e855158f734752eeaa87094bad8b57a189fe113 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Sat, 28 Feb 2015 14:20:47 -0600 Subject: [PATCH] Add Quick Man Pages as a vim til. --- README.md | 1 + vim/quick-man-pages.md | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 vim/quick-man-pages.md diff --git a/README.md b/README.md index 3087fe0..5a15f66 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ I shamelessly stole this idea from - [Head of File Name](vim/head-of-file-name.md) - [Preview Buffer](vim/previous-buffer.md) - [Quick File Info](vim/quick-file-info.md) +- [Quick Man Pages](vim/quick-man-pages.md) - [Split Different](vim/split-different.md) ## License diff --git a/vim/quick-man-pages.md b/vim/quick-man-pages.md new file mode 100644 index 0000000..f16d1f8 --- /dev/null +++ b/vim/quick-man-pages.md @@ -0,0 +1,7 @@ +# Quick Man Pages + +Within Vim, if you encounter a command that has man pages (such as `grep`), +you can move your cursor over that word in normal mode and press `K` +(`shift+k`) to view the man pages for that command. + +[source](https://twitter.com/vimchi/status/571438478027837440)