remove dashboard
who likes it anyway
This commit is contained in:
parent
85b29f0528
commit
3633ac6565
1 changed files with 0 additions and 57 deletions
|
@ -1,57 +0,0 @@
|
||||||
local icons = require('utils.icons')
|
|
||||||
local g = vim.g
|
|
||||||
|
|
||||||
return {
|
|
||||||
'glepnir/dashboard-nvim',
|
|
||||||
config = function()
|
|
||||||
g.dashboard_default_executive = 'telescope'
|
|
||||||
|
|
||||||
g.dashboard_session_directory = vim.fn.stdpath('data') .. '/sessions'
|
|
||||||
|
|
||||||
g.dashboard_custom_section = {
|
|
||||||
find_file = {
|
|
||||||
description = { icons.file1 .. ' Find File <leader>ff' },
|
|
||||||
command = 'lua require("plugins.telescope.mappings").project_files()',
|
|
||||||
},
|
|
||||||
file_explorer = {
|
|
||||||
description = { icons.file2 .. ' File Manager <C-n> ' },
|
|
||||||
command = 'NvimTreeToggle',
|
|
||||||
},
|
|
||||||
find_string = {
|
|
||||||
description = { icons.word .. ' Grep String <leader>fs' },
|
|
||||||
command = 'Telescope grep_string',
|
|
||||||
},
|
|
||||||
last_session = {
|
|
||||||
description = { icons.clock .. ' Load Session <leader>sl' },
|
|
||||||
command = 'lua vim.cmd(":silent RestoreSession")',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
g.dashboard_custom_footer = { '💫 github.com/CosmicNvim/CosmicNvim' }
|
|
||||||
|
|
||||||
require('dashboard').setup({
|
|
||||||
-- config
|
|
||||||
config = {
|
|
||||||
header = {
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
' ██████╗ ██████╗ ███████╗███╗ ███╗██╗ ██████╗███╗ ██╗██╗ ██╗██╗███╗ ███╗',
|
|
||||||
'██╔════╝██╔═══██╗██╔════╝████╗ ████║██║██╔════╝████╗ ██║██║ ██║██║████╗ ████║',
|
|
||||||
'██║ ██║ ██║███████╗██╔████╔██║██║██║ ██╔██╗ ██║██║ ██║██║██╔████╔██║',
|
|
||||||
'██║ ██║ ██║╚════██║██║╚██╔╝██║██║██║ ██║╚██╗██║╚██╗ ██╔╝██║██║╚██╔╝██║',
|
|
||||||
'╚██████╗╚██████╔╝███████║██║ ╚═╝ ██║██║╚██████╗██║ ╚████║ ╚████╔╝ ██║██║ ╚═╝ ██║',
|
|
||||||
' ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝',
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
'',
|
|
||||||
},
|
|
||||||
footer = { '💫 github.com/CosmicNvim/CosmicNvim' },
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
event = 'VimEnter',
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue