summaryrefslogtreecommitdiff
path: root/plugin/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-02-06 23:59:00 -0500
committerryanss2015-02-06 23:59:00 -0500
commit183c28ddd626a45737a429d32f2d215d925e17ed (patch)
treef0d2065d716021025f048e59418da0c86e0b5810 /plugin/hackernews.vim
parentc62729e93528bdbacc99139dc91401b2eefa663b (diff)
downloadvim-hn-183c28ddd626a45737a429d32f2d215d925e17ed.tar.gz
Add opening links with default web browser
Diffstat (limited to 'plugin/hackernews.vim')
-rw-r--r--plugin/hackernews.vim5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim
index f73512a..768f136 100644
--- a/plugin/hackernews.vim
+++ b/plugin/hackernews.vim
@@ -3,16 +3,11 @@ if !has('python')
finish
endif
-
" Import Python code
execute "python import sys"
execute "python sys.path.append('" . expand("<sfile>:p:h") . "')"
execute "python from hackernews import hacker_news, hacker_news_link"
-
command! HackerNews python hacker_news()
-map <return> :python hacker_news_link()<cr>
-
-
au! BufRead,BufNewFile *.hackernews set filetype=hackernews