aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-13 10:45:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-13 10:45:17 +1200
commit942a9d81239516f7f318c37904108176a78e3098 (patch)
tree0a7c05a94dbe0a242acac5a32344819bb3fc9437
parentMove .vimrc reloading stuff into custom plugin (diff)
downloaddotfiles-942a9d81239516f7f318c37904108176a78e3098.tar.gz
dotfiles-942a9d81239516f7f318c37904108176a78e3098.zip
Remove visual mode space/backspace remap
I'm not likely to use these.
-rw-r--r--vim/vimrc6
1 files changed, 1 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index fbe0f177..bb0a020f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -168,13 +168,9 @@ vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L>
inoremap <Plug>(InsertCancel) <Esc>u
imap <C-C> <Plug>(InsertCancel)
-" Remap normal/visual space to scroll down a page, backspace up
+" Remap normal space to scroll down a page, backspace up a page
nnoremap <Space> <C-F>
nnoremap <BS> <C-B>
-if v:version >= 700
- xnoremap <Space> <C-F>
- xnoremap <BS> <C-B>
-endif
" Remap normal/visual & to preserve substitution flags
nnoremap <silent> & :&&<CR>