mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim: moved stuff around.
This commit is contained in:
parent
300d300664
commit
0d7a5fab7b
22 changed files with 975 additions and 990 deletions
|
|
@ -1,66 +0,0 @@
|
|||
local icons = require('user.icons')
|
||||
|
||||
return {
|
||||
{ import = "user.plugins.core.colorscheme" },
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
build = ":MasonUpdate",
|
||||
cmd = "Mason",
|
||||
opts_extend = { "ensure_installed" },
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("mason").setup(opts)
|
||||
end
|
||||
},
|
||||
-- Dashboard
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
config = function()
|
||||
local alpha = require'alpha'
|
||||
local dashboard = require'alpha.themes.dashboard'
|
||||
|
||||
dashboard.section.header.val = {
|
||||
[[ __ ]],
|
||||
[[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
|
||||
[[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],
|
||||
[[/\ \/\ \/\ __//\ \_\ \ \ \_/ |\ \ \/\ \/\ \/\ \ ]],
|
||||
[[\ \_\ \_\ \____\ \____/\ \___/ \ \_\ \_\ \_\ \_\]],
|
||||
[[ \/_/\/_/\/____/\/___/ \/__/ \/_/\/_/\/_/\/_/]],
|
||||
}
|
||||
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("e", icons.files.text .. " New file" , ":ene <BAR> startinsert<CR>"),
|
||||
dashboard.button("s", icons.search .. " Search files" , ":Telescope find_files<CR>"),
|
||||
dashboard.button("o", icons.search .. " Old files" , ":Telescope oldfiles<CR>"),
|
||||
dashboard.button("q", icons.close .. " Quit" , ":qa<CR>"),
|
||||
}
|
||||
|
||||
alpha.setup(dashboard.config)
|
||||
end,
|
||||
},
|
||||
-- Icons
|
||||
{
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
opts = {
|
||||
override = {
|
||||
php = {
|
||||
icon = icons.filetypes.php,
|
||||
color = "#4F5B93",
|
||||
name = "Php"
|
||||
}
|
||||
},
|
||||
override_by_filename = {
|
||||
["artisan"] = {
|
||||
icon = icons.filetypes.laravel,
|
||||
color = "#f05340",
|
||||
name = "LaravelArtisan"
|
||||
},
|
||||
["phpunit.xml"] = {
|
||||
icon = icons.filetypes.phpunit,
|
||||
color = "#0d6efd",
|
||||
name = "PhpUnit"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue