remapping for pum
This commit is contained in:
parent
e539787570
commit
72f1dee97b
@ -19,13 +19,20 @@
|
|||||||
colorscheme molokai
|
colorscheme molokai
|
||||||
|
|
||||||
# wildcard mode
|
# wildcard mode
|
||||||
set wildmode=longest,list
|
set wildmode=longest:full,full
|
||||||
|
|
||||||
|
# remapping popup menu (command autocompletion)
|
||||||
|
set cnoremap <expr> <up> pumvisible() ? "<C-p>" : "<up>
|
||||||
|
set cnoremap <expr> <down> pumvisible() ? "<C-n>" : "<down>"
|
||||||
|
set cnoremap <expr> <CR> pumvisible()? "<C-e>":"<CR>"
|
||||||
|
# set line numbers
|
||||||
|
set number
|
||||||
|
|
||||||
# YouCompleteMe
|
# YouCompleteMe
|
||||||
let g:ycm_key_list_stop_completion = ['<C-y>', '<CR>']
|
let g:ycm_key_list_stop_completion = ['<C-y>', '<CR>']
|
||||||
let g:ycm_key_list_select_completion = ['<Up>', '<Down>', '<TAB>']
|
let g:ycm_key_list_select_completion = ['<Up>', '<Down>', '<TAB>']
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
Loading…
Reference in New Issue
Block a user