summaryrefslogtreecommitdiff
path: root/plugin/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-02-09 23:36:55 -0500
committerryanss2015-02-09 23:36:55 -0500
commitbf2266ce059684c5b35424a030d37eee97399e3a (patch)
tree789a6c0b3c5d1b935ec86f5c1de07b35d0bfd2d0 /plugin/hackernews.vim
parent985fab2bbdac01dae965dec6d48c2a978e6e8f3d (diff)
downloadvim-hn-bf2266ce059684c5b35424a030d37eee97399e3a.tar.gz
Save cursor position when moving back/forward #11
Diffstat (limited to 'plugin/hackernews.vim')
-rw-r--r--plugin/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim
index 5e0b603..d3a6dd7 100644
--- a/plugin/hackernews.vim
+++ b/plugin/hackernews.vim
@@ -22,7 +22,7 @@ syntax on
" Import Python code
execute "python import sys"
execute "python sys.path.append(r'" . expand("<sfile>:p:h") . "')"
-execute "python from hackernews import hacker_news, hacker_news_link"
+execute "python from hackernews import hacker_news, hacker_news_link, recall_pos"
command! HackerNews python hacker_news()