summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryanss2015-02-07 17:18:55 -0500
committerryanss2015-02-07 17:18:55 -0500
commit1b4fc7434d6cdbcbf14b5445147620aab1a40fa8 (patch)
tree17ee94cdbccd9736d10303a87d00b984f5f6c239
parentfaf7a8cbc47a07a9b05e9f16021b02b2d32cb034 (diff)
downloadvim-hn-1b4fc7434d6cdbcbf14b5445147620aab1a40fa8.tar.gz
Add documentation file
-rw-r--r--.gitignore1
-rw-r--r--doc/hackernews.txt27
2 files changed, 28 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0d20b64..c6537e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*.pyc
+doc/tags
diff --git a/doc/hackernews.txt b/doc/hackernews.txt
new file mode 100644
index 0000000..d0ed099
--- /dev/null
+++ b/doc/hackernews.txt
@@ -0,0 +1,27 @@
+*hackernews.txt* Browse HackerNews inside Vim *hackernews*
+
+Author: ryanss <ryanssdev@icloud.com>
+Website: https://github.com/ryanss/vim-hackernews
+License: MIT (see LICENSE file)
+
+
+BASIC USAGE *hackernews-usage*
+
+* Open the Hacker News home page in Vim by executing the `:HackerNews` command
+* Press lowercase `o` to open links in Vim
+* Press uppercase `O` to open links in default web browser
+* Press lowercase `u` to go back (or whatever you've remapped `undo` to)
+* Press `Ctrl+r` to go forward (or whatever you're remapped `redo` to)
+* Execute the `:bd` command to close and remove the Hacker News buffer
+
+
+COMMANDS *hackernews-commands*
+
+:HackerNews Open Hacker News front page stories in Vim
+
+
+ABOUT *hackernews-about*
+
+Grab the latest version or report a bug on GitHub:
+
+https://github.com/ryanss/vim-hackernews