summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryanss2015-02-08 11:29:48 -0500
committerryanss2015-02-08 11:29:48 -0500
commitefe1efe933daabea0e91cf79d2ddb868f4e29a70 (patch)
treeb0a026bc8caa440b4f708dc7ef988aac396e850f
parentb8afecc06220a0882790e88638e8354040caf0d6 (diff)
downloadvim-hn-efe1efe933daabea0e91cf79d2ddb868f4e29a70.tar.gz
Only remap `o` inside the .hackernews buffer
-rw-r--r--ftplugin/hackernews.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim
index 84623a7..27c3e43 100644
--- a/ftplugin/hackernews.vim
+++ b/ftplugin/hackernews.vim
@@ -8,5 +8,5 @@
" Version: 0.1.1
-noremap o :python hacker_news_link()<cr>
-noremap O :python hacker_news_link(external=True)<cr>
+noremap <buffer> o :python hacker_news_link()<cr>
+noremap <buffer> O :python hacker_news_link(external=True)<cr>