summaryrefslogtreecommitdiff
path: root/ftplugin/hackernews.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/hackernews.vim')
-rw-r--r--ftplugin/hackernews.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim
index 590463c..50309c4 100644
--- a/ftplugin/hackernews.vim
+++ b/ftplugin/hackernews.vim
@@ -1,2 +1,11 @@
+" vim-hackernews
+" --------------
+" Browse Hacker News (news.ycombinator.com) inside Vim.
+"
+" Author: ryanss <ryanssdev@icloud.com>
+" Website: https://github.com/ryanss/vim-hackernews
+" License: MIT (see LICENSE file)
+
+
noremap o :python hacker_news_link()<cr>
noremap O :python hacker_news_link(external=True)<cr>