summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-02-16Front page title line now links to item url. Close #4ryanss2-3/+4
The first line of of each front page item (that contains the title and domain) links to the external url associated with the item. The second line of each item (that contains the points, user, comment count) links to the comments page. This is consistent with how the actual Hacker News front page works.
2015-02-15Fix #10 Remap `gx` to use hackernews.link() functionryanss1-0/+1
The hackernews.link(external=True) function works better than the default `gx` functionality. By default, `gx` will sometimes not work on urls surrounded by brackets/braces/parenthesis, and will not work on urls spanning multiple lines. The hackernews.link() function does not have these issues.
2015-02-15Add Travis CI badge to READMEryanss1-1/+1
2015-02-15Add basic tests and Travis integration. Close #24ryanss2-0/+73
2015-02-10Syntax regex fixryanss1-1/+1
`([http://example.net])` was being highlighted like a front page domain `Comment` instead of a link url `Constant`.
2015-02-10Syntax regex improvementryanss1-1/+1
2015-02-10Fix syntax regex to match "_an_ hour ago"ryanss1-2/+2
2015-02-10Remove unwanted extra blank lines around code blocksryanss2-5/+6
2015-02-10Improve specificity of syntax match regexryanss1-1/+1
This syntax match regex was accidentally highlighting lines in comments that were shifted by one level and contained the word "ago".
2015-02-10Fix typoryanss1-1/+1
2015-02-10Wait for :HackerNews command to load python code Fixes #22ryanss3-28/+36
Once you import a python module into an instance of vim it does not get reloaded when a plugin manager updates the plugin. This can cause errors when, for example, a new function is added to the python module and updated vim code is trying to call it. This commit does two things: 1) Does not load the python code until the :HackerNews command is called. There is no need to load the python code during vim startup if the plugin will not be used. 2) Each time the :HackerNews command is issued and a .hackernews buffer is opened the python code is reloaded to avoid the errors previously mentioned.
2015-02-09Save cursor position when moving back/forward #11ryanss3-1/+27
2015-02-09Fix code block syntax region regexryanss1-1/+1
2015-02-09Merge pull request #18 from SimonWoolf/masterryanss1-1/+1
Remove newline from end of code-block regex
2015-02-09Remove newline from end of code-block regexSimon Woolf1-1/+1
There isn't always a newline after </pre>
2015-02-08Fix #16 Enable `filetype plugin` and `syntax` optionsryanss1-0/+5
If `filetype plugin` is off the key remaps defined in `ftplugin/hackernews.vim` won't be loaded and pressing `o` will just create a new line instead of following links.
2015-02-08Improve handling of job items and Ask HN itemsryanss2-12/+63
2015-02-08Fix #15 Error setting ctermfg=bg when ctermbg=NONEryanss1-5/+10
2015-02-08Fix #12 Force `Ignore` highlight group to be hiddenryanss1-0/+8
Some colorschemes (ex. Solarized) have defined the `Ignore` syntax highlight group to not be hidden so we need to make sure this group gets hidden properly in both gui and terminal environments.
2015-02-08Improve HTTP Error informationryanss1-0/+9
2015-02-08Fix #5 Timeout HTTP requests after 5 scondsryanss1-7/+24
2015-02-08Fix handling of Hacker News links in comments and articlesryanss1-1/+1
2015-02-08Only remap `o` inside the .hackernews bufferryanss1-2/+2
2015-02-08Fix #9 ImportError on Windowsryanss1-1/+1
Use raw string literal to add vim script path to python system path so it doesn't escape single backslash characters.
2015-02-07Release version 0.1.1ryanss5-5/+5
2015-02-07Fix #1, some job items don't contain a 'domain' key in the APIryanss1-4/+9
2015-02-07Release version 0.1ryanss5-0/+5
2015-02-07Add Roadmap and Contribution sections to READMEryanss5-2/+59
2015-02-07Add screenshots to READMEryanss3-0/+4
2015-02-07Add documentation fileryanss2-0/+28
2015-02-07Add basic usage notes to the READMEryanss1-0/+11
2015-02-07Highlight Hacker News header orangeryanss1-0/+6
2015-02-07Pass flake8 and some refactoringryanss1-23/+17
2015-02-06Add opening links with default web browserryanss3-8/+19
2015-02-05Add MIT licenseryanss2-0/+26
2015-02-04Add basic READMEryanss1-0/+28
2015-02-03Change item header to be more like websiteryanss1-3/+4
2015-02-02Improve job posting format/syntax on main pageryanss2-2/+4
2015-02-01Fix syntax highlighting of domains on main pageryanss1-1/+1
2015-01-31Improve handling of Hacker News item linksryanss1-6/+23
2015-01-30Improve syntax highlighting of main pageryanss1-0/+12
2015-01-29Format main page closer to actual website layoutryanss1-6/+27
2015-01-22Improve handling of string encoding/decodingryanss1-2/+8
2015-01-21Add "Ignore" syntax highlighting to top story id'sryanss1-0/+1
2015-01-20Specify code block syntax highlighting better to stop false positivesryanss1-1/+1
2015-01-19Add syntax hightlighting to code blocksryanss2-3/+11
2015-01-18Improve formatting of comment <code> blocksryanss1-3/+20
2015-01-17Fix encoding issues writing to buffer in terminal vimryanss1-26/+31
2015-01-16Wrap article url to 80 char widthryanss1-1/+2
2015-01-15Add ability to handle links spanning multiple linesryanss2-20/+40