summaryrefslogtreecommitdiff
path: root/ftplugin/hackernews.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/hackernews.vim')
-rw-r--r--ftplugin/hackernews.vim8
1 files changed, 6 insertions, 2 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim
index 7b0bed4..c64b5d2 100644
--- a/ftplugin/hackernews.vim
+++ b/ftplugin/hackernews.vim
@@ -42,8 +42,12 @@ execute "Python hackernews.main()"
noremap <buffer> o :Python hackernews.link()<cr>
noremap <buffer> O :Python hackernews.link(external=True)<cr>
noremap <buffer> gx :Python hackernews.link(external=True)<cr>
-noremap <buffer> u u:Python hackernews.recall_pos()<cr>
-noremap <buffer> <C-r> <C-r>:Python hackernews.recall_pos()<cr>
+noremap <buffer> u :Python hackernews.save_pos()<cr>
+ \u
+ \:Python hackernews.recall_pos()<cr>
+noremap <buffer> <C-r> :Python hackernews.save_pos()<cr>
+ \<C-r>
+ \:Python hackernews.recall_pos()<cr>
" Helper motions to browse front page, comments and articles easier