Skip to content

Commit

Permalink
fix: use iunmap instead of inoremap
Browse files Browse the repository at this point in the history
fix?

fix?
  • Loading branch information
jhonnyV-V committed Feb 23, 2025
1 parent e1690ac commit 6085c68
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions autoload/llama.vim
Original file line number Diff line number Diff line change
Expand Up @@ -629,10 +629,9 @@ function! llama#fim_cancel()
endif

" remove the mappings
silent! iunmap <buffer> <Esc>
exe 'inoremap <buffer> ' . g:llama_config.accept_full_keymap
exe 'inoremap <buffer> ' . g:llama_config.accept_line_keymap
exe 'inoremap <buffer> ' . g:llama_config.accept_word_keymap
exe '!silent iunmap <buffer> ' . g:llama_config.accept_full_keymap
exe '!silent iunmap <buffer> ' . g:llama_config.accept_line_keymap
exe '!silent iunmap <buffer> ' . g:llama_config.accept_word_keymap
endfunction

function! s:on_move()
Expand Down

0 comments on commit 6085c68

Please sign in to comment.