feat: update preview file width and height based on dynamic logo dimensions

This commit is contained in:
2024-08-23 09:54:45 -04:00
parent 7f083f26d1
commit 679b0feeb9
2 changed files with 103 additions and 70 deletions
+72
View File
@@ -0,0 +1,72 @@
-- ╭─────────────────────────────────────────────────────────╮
-- │ DASH DATA │
-- ╰─────────────────────────────────────────────────────────╯
local M = {}
M.choices = {
{ -- Find File
action = "lua LazyVim.pick()()",
desc = " Find File",
icon = "",
key = "f",
},
{ -- New File
action = "ene | startinsert",
desc = " New File",
icon = "",
key = "n",
},
{ -- Open Recent Files
action = 'lua LazyVim.pick("oldfiles")()',
desc = " Recent Files",
icon = "",
key = "r",
},
{ -- Find Text
action = 'lua LazyVim.pick("live_grep")()',
desc = " Find Text",
icon = "",
key = "g",
},
{ -- LazyGit
action = "LazyGit",
desc = " LazyGit",
icon = "",
key = "z",
},
{ -- Config
action = "lua LazyVim.pick.config_files()()",
desc = " Config",
icon = "",
key = "c",
},
{ -- Restore Session
action = 'lua require("persistence").load()',
desc = " Restore Session",
icon = "",
key = "s",
},
{ -- Remote Session
action = 'lua require("config.rootiest").load_remote()',
desc = " Remote Session",
icon = "󰢹 ",
key = "S",
},
{ -- Lazy
action = "Lazy",
desc = " Lazy",
icon = "󰒲 ",
key = "l",
},
{ -- Quit
action = function()
vim.api.nvim_input("<cmd>qa<cr>")
end,
desc = " Quit",
icon = "",
key = "q",
},
}
return M