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)