chore: Idk

This commit is contained in:
2026-03-29 10:32:08 +02:00
parent 19b4d6129a
commit cc907c654d
4 changed files with 25 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ M.ui = {
M.nvdash = {
load_on_startup = true,
buttons = {
{ txt = " Empty buffer", keys = "<leader>b", cmd = "Nvdash" },
{ txt = " Find File", keys = "ff", cmd = "Telescope find_files" },
{ txt = " Recent Files", keys = "fo", cmd = "Telescope oldfiles" },
{ txt = "󰈭 Find Word", keys = "fw", cmd = "Telescope live_grep" },

View File

@@ -15,3 +15,12 @@ vim.keymap.set("v", "<", "<gv", { desc = "Keep selection after outdent" })
vim.keymap.set("v", ">", ">gv", { desc = "Keep selection after indent" })
vim.opt.shell = "fish"
vim.api.nvim_create_autocmd("BufDelete", {
callback = function()
local bufs = vim.t.bufs
if #bufs == 1 and vim.api.nvim_buf_get_name(bufs[1]) == "" then
vim.cmd "Nvdash"
end
end,
})

View File

@@ -217,4 +217,17 @@ return {
end, { desc = "Opencode: Scroll down" })
end,
},
{
"3rd/image.nvim",
event = "VeryLazy",
opts = {
backend = "ueberzug",
max_width = 600,
max_height = 72,
max_height_window_percentage = math.huge,
max_width_window_percentage = math.huge,
window_overlap_clear_enabled = true,
window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "" },
},
},
}