From c59406dad40fb321ada18acee17ee8979e39b3ca Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Thu, 12 Dec 2024 13:25:03 +0500 Subject: [PATCH] nvim: enable nvdash, configure satatusbar --- lua/chadrc.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/lua/chadrc.lua b/lua/chadrc.lua index 6bb2cf7..afd57e3 100644 --- a/lua/chadrc.lua +++ b/lua/chadrc.lua @@ -3,10 +3,42 @@ ---@type ChadrcConfig local M = {} + M = { base46 = { theme = "catppuccin", transparency = true + }, + + ui = { + statusline = { + theme = "minimal", + separator_style = "round", + order = { "mode", "file", "git", "%=", "cwd"}, + } + }, + + nvdash = { + load_on_startup = true, + header = { + " ", + " ▄▄ ▄ ▄▄▄▄▄▄▄ ", + " ▄▀███▄ ▄██ █████▀ ", + " ██▄▀███▄ ███ ", + " ███ ▀███▄ ███ ", + " ███ ▀██ ███ ", + " ███ ▀ ███ ", + " ▀██ █████▄▀█▀▄██████▄ ", + " ▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀ ", + " ", + " ", + }, + buttons = { + { 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" }, + { txt = "󰈆 Exit", keys = ":q!", cmd = "q!" }, + } } -- hl_override = { -- Comment = { italic = true },