aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 03:31:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 03:31:22 +1200
commitf7f752541b9e7a29884f164a92f147666b405eb5 (patch)
tree7d803586822c7434f5cc35950df91f3b832bd938
parent89e3cdeef616035a926941d5147e07bb3a59d27c (diff)
downloaddotfiles-f7f752541b9e7a29884f164a92f147666b405eb5.tar.gz
Adjust mapping formatting
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index df805727..84c6155e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1034,7 +1034,9 @@ endtry
" I always wanted you to go into space, man.
"
nnoremap <expr> <Space>
- \ line('w$') < line('$') ? "\<PageDown>" : ":\<C-U>next\<CR>"
+ \ line('w$') < line('$')
+ \ ? "\<PageDown>"
+ \ : ":\<C-U>next\<CR>"
" I hate CTRL-C's default insert mode behavior. It ends the insert session
" without firing the InsertLeave event for automatic command hooks. Why would