Replies: 2 comments 1 reply
-
I am a beginner in VimScript so I didn't know how to implement such functionality. There are already a couple of issues that have been raised: #40, #34, so hopefully somebody will figure out how to implement this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I do this function ToggleLlamaAutoFIM()
let g:llama_config.auto_fim = !g:llama_config.auto_fim
call llama#init()
endfunction
inoremap <silent><C-\> <ESC>:call ToggleLlamaAutoFIM()<CR>i |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, sorry for the noob question, but could someone clarify how i can toggle
auto_fim
with a keybind?I'd like to disable it by default (configured as below), and be able to toggle this setting with a keybind.
(because if see correctly,
Ctrl+F
only enables it once for the current line...)Configured in
../plugins/llama.lua
:I tried this keybind, but it's not working:
Please advise, thank you!
Beta Was this translation helpful? Give feedback.
All reactions