aboutsummaryrefslogtreecommitdiff
path: root/mappings.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-29 21:53:28 +0800
committerjdhao <jdhao@hotmail.com>2020-10-29 21:53:28 +0800
commit829fb82066607703e3f12e58b5ab85ee6fe04549 (patch)
treeba6a8deaad86e71a262b9ab2e63429229e150b9d /mappings.vim
parent3a3dd4b372318a2112e6f4554a0ce9354e2e15ce (diff)
remove two mappings
Rarely used, and ctrl-u conflict with an already defined mapping.
Diffstat (limited to 'mappings.vim')
-rw-r--r--mappings.vim4
1 files changed, 0 insertions, 4 deletions
diff --git a/mappings.vim b/mappings.vim
index 4d0e092..26bb3f3 100644
--- a/mappings.vim
+++ b/mappings.vim
@@ -110,10 +110,6 @@ inoremap <expr> <esc> ((pumvisible())?("\<C-e>"):("\<esc>"))
inoremap <expr> <tab> pumvisible() ? "\<c-n>" : "\<tab>"
inoremap <expr> <s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>"
-" Use <c-d> and <c-u> to scroll the completion menu.
-inoremap <expr> <C-d> pumvisible() ? "\<PageDown>" : "\<C-d>"
-inoremap <expr> <C-u> pumvisible() ? "\<PageUp>" : "\<C-u>"
-
" Edit and reload init.vim quickly
nnoremap <silent> <leader>ev :<C-U>tabnew $MYVIMRC <bar> tcd %:h<cr>
nnoremap <silent> <leader>sv :<C-U>silent update $MYVIMRC <bar> source $MYVIMRC <bar>