{"id":13477421,"url":"https://github.com/adelarsq/vim-hackernews","last_synced_at":"2025-04-19T16:30:48.835Z","repository":{"id":150211254,"uuid":"122140611","full_name":"adelarsq/vim-hackernews","owner":"adelarsq","description":"Hacker News plugin for Vim 📰💙💛🤍💚","archived":false,"fork":false,"pushed_at":"2020-05-24T02:56:40.000Z","size":474,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T10:40:28.338Z","etag":null,"topics":["blacklivesmatter","hacker-news","neovim","nowar","vim"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adelarsq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-20T00:59:14.000Z","updated_at":"2024-07-01T07:40:39.000Z","dependencies_parsed_at":"2023-06-14T22:45:48.822Z","dependency_job_id":null,"html_url":"https://github.com/adelarsq/vim-hackernews","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelarsq%2Fvim-hackernews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelarsq%2Fvim-hackernews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelarsq%2Fvim-hackernews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelarsq%2Fvim-hackernews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelarsq","download_url":"https://codeload.github.com/adelarsq/vim-hackernews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224961131,"owners_count":17398980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blacklivesmatter","hacker-news","neovim","nowar","vim"],"created_at":"2024-07-31T16:01:42.552Z","updated_at":"2024-11-16T19:29:36.773Z","avatar_url":"https://github.com/adelarsq.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"vim-hackernews\n==============\n\nBrowse [Hacker News](https://news.ycombinator.com) inside Vim. Fork from [vim-hackernews](https://vim.sourceforge.io/scripts/script.php?script_id=5108) which is no longer maintained.\n\n![Hacker News Front Page in Vim](https://github.com/adelarsq/vim-hackernews/raw/master/screenshots/vim-hackernews-home.png)\n\n![Hacker News Comments in Vim](https://github.com/adelarsq/vim-hackernews/raw/master/screenshots/vim-hackernews-item.png)\n\nUses [cheeaun's Unofficial Hacker News API](https://github.com/cheeaun/node-hnapi)\nto retrieve home page stories and comments and\n[FUCK YEAH MARKDOWN](http://fuckyeahmarkdown.com) for rendering HTML articles\nas text.\n\n\nBasic Usage\n-----------\n\n* Open the Hacker News front page in Vim by executing the `:HackerNews` command\n* The HackerNews command takes an optional parameter to view items other\n  than the top stories on the front page: `ask`, `show`, `shownew`, `jobs`,\n  `best`, `active`, `newest`, `noobstories`, `\u003citem id\u003e`, or `\u003csearch query\u003e`\n* Press lowercase `o` to open links in Vim\n* Press uppercase `O` to open links in default web browser\n* Numbered lines with story titles on the front page link to the story url\n* Comment lines on the front page link to the comments url\n* Press uppercase `F` to fold current comment thread\n* Press lowercase `u` to go back\n* Press `Ctrl+r` to go forward\n* Execute the `:bd` command to close and remove the Hacker News buffer\n\n\nEnhanced Motions\n----------------\n\nUppercase `J` and `K` are mapped to helpful new motions based on what type of\ncontent is on the screen:\n\n* Move to next/prev item when viewing the front page. (If the cursor is on a\n  numbered line with story title the cursor will move to the next/prev numbered\n  line with story title. If the cursor is on a comment line it will move to the\n  next/prev comment line.)\n* Move to next/prev comment when viewing comments.\n* Move to next/prev paragraph when viewing the text version of articles.\n\n\nInstallation\n------------\n\n##### Pathogen (https://github.com/tpope/vim-pathogen)\n```bash\ngit clone https://github.com/adelarsq/vim-hackernews ~/.vim/bundle/vim-hackernews\n```\n\n##### Vundle (https://github.com/gmarik/vundle)\n```\nPlugin 'adelarsq/vim-hackernews'\n```\n\n##### NeoBundle (https://github.com/Shougo/neobundle.vim)\n```\nNeoBundle 'adelarsq/vim-hackernews'\n```\n\n\nRunning Tests\n-------------\n\n```bash\n$ vim -c Vader! tests.vader\n```\n\n\nContributions\n-------------\n\n[Issues](https://github.com/adelarsq/vim-hackernews/issues) and\n[Pull Requests](https://github.com/adelarsq/vim-hackernews/pulls) are always\nwelcome!\n\n\nLicense\n-------\n\nCode is available according to the MIT License\n(see [LICENSE](https://github.com/adelarsq/vim-hackernews/raw/master/LICENSE)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelarsq%2Fvim-hackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadelarsq%2Fvim-hackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelarsq%2Fvim-hackernews/lists"}