mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:00:05 +08:00
perf(telescope): remove jk
for telescope
This commit is contained in:
parent
4846788807
commit
348d868d9d
@ -179,13 +179,14 @@ function! SpaceVim#layers#telescope#config() abort
|
|||||||
call s:defind_fuzzy_finder()
|
call s:defind_fuzzy_finder()
|
||||||
|
|
||||||
" this autocmd should only be called when using deoplete
|
" this autocmd should only be called when using deoplete
|
||||||
if g:spacevim_autocomplete_method == 'deoplete'
|
|
||||||
augroup spacevim_telescope_layer
|
augroup spacevim_telescope_layer
|
||||||
autocmd!
|
autocmd!
|
||||||
|
if g:spacevim_autocomplete_method == 'deoplete'
|
||||||
" https://github.com/nvim-telescope/telescope.nvim/issues/161
|
" https://github.com/nvim-telescope/telescope.nvim/issues/161
|
||||||
autocmd FileType TelescopePrompt call deoplete#custom#buffer_option('auto_complete', v:false)
|
autocmd FileType TelescopePrompt call deoplete#custom#buffer_option('auto_complete', v:false)
|
||||||
augroup END
|
|
||||||
endif
|
endif
|
||||||
|
autocmd FileType TelescopePrompt iunmap <buffer> jk
|
||||||
|
augroup END
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:get_help_with_cursor_symbol() abort
|
function! s:get_help_with_cursor_symbol() abort
|
||||||
|
Loading…
Reference in New Issue
Block a user