migrate over neovim config
This commit is contained in:
parent
92c57d8825
commit
f581832953
18 changed files with 535 additions and 102 deletions
24
dotfiles/nvim/lua/plugins/dashboard.lua
Normal file
24
dotfiles/nvim/lua/plugins/dashboard.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
-- Various dashboard adjustments
|
||||
|
||||
return {
|
||||
"nvimdev/dashboard-nvim",
|
||||
opts = function(_, opts)
|
||||
-- Remove the original "config" button
|
||||
table.remove(opts.config.center, 5)
|
||||
|
||||
-- Build a new button
|
||||
local button = {
|
||||
action = "Telescope find_files cwd=~/.local/share/chezmoi/",
|
||||
desc = "Dotfiles",
|
||||
icon = "⚙️ ",
|
||||
key = "c",
|
||||
}
|
||||
|
||||
button.desc = button.desc .. string.rep(" ", 43 - #button.desc)
|
||||
button.key_format = " %s"
|
||||
table.insert(opts.config.center, 5, button)
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>qc", "<cmd>Telescope find_files cwd=~/.local/share/chezmoi<CR>", desc = "Find in dotfiles" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue