From b4f251bf4ba95d6d9c1b03117274a3470588e5f8 Mon Sep 17 00:00:00 2001 From: ryanss Date: Fri, 4 Sep 2015 23:59:00 -0400 Subject: Improve handling of optional arg An item_id can now be passed as the optional argument to the `:Hackernews` command which will load that specific item into the .hackernews buffer, whether it be a story, poll, comment thread or individual comment. Ex. `:Hackernews 9015621` Close #35 --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 720e56d..b15ad65 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,8 @@ Basic Usage * Open the Hacker News front page in Vim by executing the `:HackerNews` command * The HackerNews command takes an optional parameter to view items other - than the top stories on the front page: - * `:HackerNews ask` - * `:HackerNews show` - * `:HackerNews shownew` - * `:HackerNews jobs` - * `:HackerNews best` - * `:HackerNews active` - * `:HackerNews newest` - * `:HackerNews noobstories` + than the top stories on the front page: `ask`, `show`, `shownew`, `jobs`, + `best`, `active`, `newest`, `noobstories`, or `item id` * Press lowercase `o` to open links in Vim * Press uppercase `O` to open links in default web browser * Numbered lines with story titles on the front page link to the story url -- cgit v1.2.3