bath update

This commit is contained in:
2026-08-18 15:57:16 +02:00
parent a9bd70c482
commit 3344ba2ad0
17 changed files with 91 additions and 218 deletions
+9 -10
View File
@@ -1,4 +1,4 @@
""" VIM config file | Jan Andrle | 2026-05-05 (VIM >=9.2 AppImage)
""" VIM config file | Jan Andrle | 2026-08-18 (VIM >=9.2 AppImage)
"" #region B Base
scriptencoding utf-8 | set encoding=utf-8
set pythonthreedll=/lib/x86_64-linux-gnu/libpython3.12.so.1.0
@@ -280,14 +280,13 @@
augroup END
"" #endregion EA
"" #region AI
let g:codeium_disable_bindings = 1
imap <script><silent><nowait><expr> <f3><f3> codeium#Accept()
imap <script><silent><nowait><expr> <f3><w> codeium#AcceptNextWord()
imap <script><silent><nowait><expr> <f3><j> codeium#AcceptLine()
imap <f3>n <Cmd>call codeium#CycleCompletions(1)<CR>
imap <f3>N <Cmd>call codeium#CycleCompletions(-1)<CR>
imap <f3>d <Cmd>call codeium#Clear()<CR>
imap <f3>! <Cmd>call codeium#Complete()<CR>
let $CODESTRAL_API_KEY=system('kwallet-query kdewallet -r MISTRAL_API_KEY')->trim()
let g:lecodestral_temperature = 0.3
imap <f3>) <Plug>(lecodestral-cycle-context)
imap <f3><f3> <Plug>(lecodestral-accept)
imap <f3>n <Plug>(lecodestral-cycle-suggestions)
imap <f3>d <Plug>(lecodestral-dismiss)
imap <f3>! <Plug>(lecodestral-complete)
function s:pi(force)
" buffer is jsonl
@@ -348,7 +347,7 @@ cabbrev pi Pi
" navigate diagnostics, use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
nnoremap <silent> K :call <sid>show_documentation(expand("<cword>"))<cr>
vnoremap <silent> K :<c-u>call <sid>show_documentation('<c-r>*"')<cr>
nnoremap <leader>gf :CocList --normal --input='<c-r>=expand("<cword>")<cr>' g
nnoremap <leader>gf :CocList --normal --input=<c-r>=expand("<cword>")<cr> g
vnoremap <leader>gf :<c-u>CocList --normal --input='<c-r>*' g
""" #region COCP Coc popups scroll (Remap <C-f> and <C-b> for scroll float windows/popups.)
if has('nvim-0.4.0') || has('patch-8.2.0750')