Use Down/Up key to move position during selection popup in command mode.

This commit is contained in:
Gea-Suan Lin
2021-07-11 08:29:10 +08:00
parent 62a5d9b186
commit 2a2802c4f0

View File

@@ -39,6 +39,8 @@ hi IndentGuidesEven ctermbg=8
hi IndentGuidesOdd ctermbg=236
"
" mapping
cnoremap <expr> <Down> pumvisible() ? "\<C-n>" : "\<Down>"
cnoremap <expr> <Up> pumvisible() ? "\<C-p>" : "\<Up>"
map q: :q
nmap <Esc>[Z <C-w>W
nmap <F8> :TagbarToggle<CR>