diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-27 22:42:07 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-27 22:42:07 +1200 |
commit | 56ae3e66ec552d79ad7e86d664b3b6f4b6a94896 (patch) | |
tree | eeb174831c85799ca48bb8b1bd854f03fda50931 /vim/vimrc | |
parent | Remove backspace mapping (diff) | |
download | dotfiles-56ae3e66ec552d79ad7e86d664b3b6f4b6a94896.tar.gz dotfiles-56ae3e66ec552d79ad7e86d664b3b6f4b6a94896.zip |
Try an expanded mapping for <Space>
If at the end of the file, change to the next file in the argument list.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -184,6 +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>' +else " Map g: as a 'colon operator' nmap g: <Plug>(ColonOperator) |