mirror of
https://github.com/hanzoai/hanzo.vim.git
synced 2026-11-09 15:19:11 +00:00
13 lines
502 B
VimL
13 lines
502 B
VimL
" Author: Anexon <[email protected]>
|
|
" Description: Neural Buffer for interacting with neural providers directly.
|
|
|
|
call neural#config#Load()
|
|
|
|
command! -buffer -nargs=0 NeuralCompletion :call neural#buffer#RunBuffer()
|
|
|
|
nnoremap <silent> <buffer> <Plug>(neural_completion) :NeuralCompletion<CR>
|
|
|
|
" Keybindings of Neural Buffer
|
|
execute 'nnoremap ' . g:neural.buffer.completion_key . ' <Plug>(neural_completion)'
|
|
execute 'inoremap ' . g:neural.buffer.completion_key . ' <Esc><Plug>(neural_completion)'
|