use a more compatible pinentry method and improve neovim (as always)

This commit is contained in:
Diego Fernando Carrión 2024-10-16 18:03:00 +02:00
parent 75c598f22b
commit d0c8b71ea3
No known key found for this signature in database
GPG Key ID: A286B34D5CFB3404
4 changed files with 13 additions and 3 deletions

View File

@ -1 +1,3 @@
pinentry-program /usr/bin/pinentry-curses
default-cache-ttl 28800
max-cache-ttl 28800
allow-loopback-pinentry

View File

@ -1,2 +1,2 @@
use-agent
batch
pinentry-mode loopback

View File

@ -135,7 +135,7 @@ return {
mapping = cmp.mapping.preset.insert({
['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
['<leader><tab>'] = cmp.mapping.confirm({ select = true }),
['<C-y>'] = cmp.mapping.confirm({ select = true }),
["<C-Space>"] = cmp.mapping.complete(),
}),
sources = cmp.config.sources({

View File

@ -0,0 +1,8 @@
return {
{
"majutsushi/tagbar",
init = function()
vim.keymap.set("n", "<leader>b", "<cmd>TagbarToggle<CR>")
end
}
}