1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

remove two mappings

Rarely used, and ctrl-u conflict with an already defined mapping.
This commit is contained in:
jdhao 2020-10-29 21:53:28 +08:00
parent 3a3dd4b372
commit 829fb82066

View File

@ -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>