summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/hackernews.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim
new file mode 100644
index 0000000..590463c
--- /dev/null
+++ b/ftplugin/hackernews.vim
@@ -0,0 +1,2 @@
+noremap o :python hacker_news_link()<cr>
+noremap O :python hacker_news_link(external=True)<cr>