diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-25 02:57:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-25 02:57:00 +1200 |
commit | 4c8a76e7af12d31cde8bebe385d6e779c399298c (patch) | |
tree | 711b6ead716d516b2720d40062dc95d70f34e53f | |
parent | Use plain :set for 'viminfofile' (diff) | |
download | dotfiles-4c8a76e7af12d31cde8bebe385d6e779c399298c.tar.gz dotfiles-4c8a76e7af12d31cde8bebe385d6e779c399298c.zip |
Rearrange spacebar mapping
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |