diff options
| author | ryanss | 2015-02-06 23:59:00 -0500 |
|---|---|---|
| committer | ryanss | 2015-02-06 23:59:00 -0500 |
| commit | 183c28ddd626a45737a429d32f2d215d925e17ed (patch) | |
| tree | f0d2065d716021025f048e59418da0c86e0b5810 /plugin/hackernews.vim | |
| parent | c62729e93528bdbacc99139dc91401b2eefa663b (diff) | |
| download | vim-hn-183c28ddd626a45737a429d32f2d215d925e17ed.tar.gz | |
Add opening links with default web browser
Diffstat (limited to 'plugin/hackernews.vim')
| -rw-r--r-- | plugin/hackernews.vim | 5 |
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 |
