aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8a4e16d9..3a686b39 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -238,11 +238,11 @@ catch
set background=dark
endtry
-" Remap normal space to scroll down a page
-nnoremap <Space> <PageDown>
-" Do a :next after hitting the last line
-if &loadplugins " Don't change the mapping if we won't be loading the plugin
+" Space bar scrolls down a page, :next if plugin available
+if &loadplugins
nmap <Space> <Plug>(ScrollNext)
+else
+ nnoremap <Space> <PageDown>
endif
" Remap insert Ctrl-C to undo the escaped insert operation