|
250 | 250 | " ,i - fuzzy find string under cursor in current file (may visual) |
251 | 251 | " ,a - fuzzy find string under cursor in project directory (may visual) |
252 | 252 | " ,. - recall last fuzzy find window |
253 | | -" ,, - alias for ,b (find buffer names) |
254 | 253 | " |
255 | 254 | " <C-j> - select next fuzzy candidate (in fuzzy find window) |
256 | 255 | " <C-k> - select previous fuzzy candidate (in fuzzy find window) |
@@ -683,7 +682,7 @@ let g:Lf_PreviewCode = 1 |
683 | 682 | "let g:Lf_PreviewResult = {'Function': 0, 'BufTag': 0 } |
684 | 683 |
|
685 | 684 | let g:Lf_ShortcutF = '' |
686 | | -noremap ,, :Leaderf! buffer<CR> |
| 685 | +let g:Lf_ShortcutB = '' |
687 | 686 | noremap ,k :Leaderf rg<CR> |
688 | 687 | noremap ,o :Leaderf file<CR> |
689 | 688 | noremap ,b :Leaderf! buffer<CR> |
@@ -759,16 +758,16 @@ endfunction |
759 | 758 |
|
760 | 759 | " Use <c-space> to trigger completion. |
761 | 760 | if has('nvim') |
762 | | - inoremap <silent><expr> <c-space> coc#pum#visible() ? coc#_select_confirm() : coc#refresh() |
| 761 | + inoremap <silent><expr> <c-space> coc#pum#visible() ? coc#pum#confirm() : coc#refresh() |
763 | 762 | else |
764 | | - inoremap <silent><expr> <c-@> coc#pum#visible() ? coc#_select_confirm() : coc#refresh() |
| 763 | + inoremap <silent><expr> <c-@> coc#pum#visible() ? coc#pum#confirm() : coc#refresh() |
765 | 764 | endif |
766 | 765 |
|
767 | 766 | " Make <CR> auto-select the first completion item and notify coc.nvim to |
768 | 767 | " format on enter, <cr> could be remapped by other vim plugin |
769 | | -"inoremap <silent><expr> <cr> coc#pum#visible() ? coc#_select_confirm() |
| 768 | +"inoremap <silent><expr> <cr> coc#pum#visible() ? coc#pum#confirm() |
770 | 769 | "\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>" |
771 | | -"inoremap <silent><expr> <space> coc#pum#visible() ? (<SID>check_back_space() ? "\<space>" : coc#_select_confirm()) : "\<space>" |
| 770 | +"inoremap <silent><expr> <space> coc#pum#visible() ? (<SID>check_back_space() ? "\<space>" : coc#pum#confirm()) : "\<space>" |
772 | 771 |
|
773 | 772 | " Use `[g` and `]g` to navigate diagnostics |
774 | 773 | " Use `:CocDiagnostics` to get all diagnostics of current buffer in location list. |
|
0 commit comments