diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-31 12:33:31 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-31 12:35:07 +1200 |
commit | d1f74490f0475165a6744d9d01cbbb1862c182f6 (patch) | |
tree | aea7f57ef321cc12367fdf0b676b8855e13d8558 /vim/vimrc | |
parent | Don't set up 'wildignore' in &compatible mode (diff) | |
download | dotfiles-d1f74490f0475165a6744d9d01cbbb1862c182f6.tar.gz dotfiles-d1f74490f0475165a6744d9d01cbbb1862c182f6.zip |
Add scroll_next.vim plugin
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -184,8 +184,9 @@ imap <C-K><C-K> <Plug>(DigraphSearch) " Remap normal space to scroll down a page nnoremap <Space> <C-F> -if v:version > 700 - nnoremap <expr> <Space> line('.') == line('$') ? ':<C-U>next<CR>' : '<C-F>' +" If we have plugins, do a :next after hitting the last line +if &loadplugins + nmap <Space> <Plug>(ScrollNext) endif " Map g: as a 'colon operator' |