Compare commits

...

2 Commits

Author SHA1 Message Date
a6339338ba Fix fugitive git browse commands 2025-10-14 13:39:16 -04:00
75e5c3cf09 Add blink.cmp emoji selection 2025-10-14 13:38:58 -04:00
2 changed files with 17 additions and 3 deletions

View File

@@ -3,6 +3,8 @@ return {
dependencies = {
-- For auto-completion in the avante window
"Kaiser-Yang/blink-cmp-avante",
-- For emoji selection
"moyiz/blink-emoji.nvim",
},
opts = {
completion = {
@@ -21,7 +23,7 @@ return {
},
sources = {
-- Add 'avante' to the list
default = { "avante", "lsp", "path", "snippets", "buffer" },
default = { "avante", "lsp", "path", "snippets", "buffer", "emoji" },
providers = {
avante = {
module = "blink-cmp-avante",
@@ -30,6 +32,18 @@ return {
-- options for blink-cmp-avante
},
},
emoji = {
module = "blink-emoji",
name = "Emoji",
score_offset = 15, -- Tune by preference
opts = {
insert = true, -- Insert emoji (default) or complete its name
---@type string|table|fun():table
trigger = function()
return { ":" }
end,
},
},
},
},
},

View File

@@ -23,12 +23,12 @@ return {
},
{
"<leader>go",
"<cmd>GBrowse<CR>",
"<Cmd>.GBrowse<CR>",
desc = "[B]rowse [G]it URL for fugitive object under cursor",
},
{
"<leader>go",
":'<,'>GBrowse<CR>",
":GBrowse<CR>",
mode = "v",
desc = "[B]rowse [G]it URL for selected lines",
silent = true,