chore: Idk
This commit is contained in:
@@ -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" },
|
||||
|
||||
@@ -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,
|
||||
})
|
||||
|
||||
@@ -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", "" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user