diff options
| author | ryanss | 2015-09-04 23:59:00 -0400 |
|---|---|---|
| committer | ryanss | 2015-09-04 23:59:00 -0400 |
| commit | b4f251bf4ba95d6d9c1b03117274a3470588e5f8 (patch) | |
| tree | 07ee78d9d3ba9dc2599c28aff94fcc69da3315f4 /tests.vader | |
| parent | eb354aa1716d0fad88b2e59565599020a4af9706 (diff) | |
| download | vim-hn-b4f251bf4ba95d6d9c1b03117274a3470588e5f8.tar.gz | |
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
Diffstat (limited to 'tests.vader')
| -rw-r--r-- | tests.vader | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.vader b/tests.vader index c9dd9f8..e45df0e 100644 --- a/tests.vader +++ b/tests.vader @@ -73,8 +73,8 @@ Expect (Keys Mapped): o *@:Python hackernews.link()<CR> O *@:Python hackernews.link(external=True)<CR> gx *@:Python hackernews.link(external=True)<CR> - u *@:Python hackernews.save_pos()<CR>u:Python hackernews.recall_pos()<CR> - <C-R> *@:Python hackernews.save_pos()<CR><C-R>:Python hackernews.recall_pos()<CR> + u *@:Python hackernews.save_pos()<CR>u:Python hackernews.recall_pos("undo")<CR> + <C-R> *@:Python hackernews.save_pos()<CR><C-R>:Python hackernews.recall_pos("redo")<CR> Do (Test opening link item w/ url): :HackerNews\<cr> |
