summaryrefslogtreecommitdiff
path: root/plugin/hackernews.vim
diff options
context:
space:
mode:
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