Hacker Newsnew | past | comments | ask | show | jobs | submit | ryanss's commentslogin


You can checkout my vim configuration here: https://github.com/ryanss/vim

It's just a single, well-commented .vimrc file a little over 100 lines long. The main plugins that add to the visual appearance are the jellybean colorscheme and the fancy status line comes from vim-airline.


thanks for turning me on to jellybean, what a great scheme. awesome plugin btw!


Hi, plugin author here.

It's not currently possible to post comments using the official API (or any of the unofficial APIs), but this probably wouldn't be difficult to implement using a standard POST request to the actual Hacker News web server. The harder part would be getting the interface for posting comments inside of Vim user friendly; it would probably be similar to how fugitive.vim lets you enter git commit messages.

I will definitely look into adding this to the plugin if enough interest is shown.


I implemented ajax comment posting for the HNES Chrome Extension, which is open source. It's a dirty hack but it works. Check out the source:

https://github.com/etcet/hnes


That'd be awesome. Opening up a scratch buffer and then using that for the contents of the comment in the POST would work pretty well. I dig it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: