aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-06-19 11:05:35 +0800
committerGitHub <noreply@github.com>2021-06-19 11:05:35 +0800
commit7c9c152368014cf56cd503e0e0ff40679192c291 (patch)
tree0c46004b4d5425b812823d540c77dfc20ff27891 /core
parentb32ab3e38bf4a8ab0b8d8d44c6e2f99da9a2c874 (diff)
Update mappings.vim
Diffstat (limited to 'core')
-rw-r--r--core/mappings.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mappings.vim b/core/mappings.vim
index eba7106..a2bd61b 100644
--- a/core/mappings.vim
+++ b/core/mappings.vim
@@ -99,9 +99,9 @@ xnoremap > >gv
" annoying newline. Otherwise, <enter> is what it is. For more info , see
" https://superuser.com/a/941082/736190 and
" https://unix.stackexchange.com/q/162528/221410
-inoremap <expr> <cr> ((pumvisible())?("\<C-Y>"):("\<cr>"))
+" inoremap <expr> <cr> ((pumvisible())?("\<C-Y>"):("\<cr>"))
" Use <esc> to close auto-completion menu
-inoremap <expr> <esc> ((pumvisible())?("\<C-e>"):("\<esc>"))
+" inoremap <expr> <esc> ((pumvisible())?("\<C-e>"):("\<esc>"))
" Tab-complete, see https://vi.stackexchange.com/q/19675/15292.
inoremap <expr> <tab> pumvisible() ? "\<c-n>" : "\<tab>"