disable dashboard by default
This commit is contained in:
parent
5742567630
commit
873b846d50
4 changed files with 4 additions and 11 deletions
|
@ -80,7 +80,7 @@ M.plugin_status = {
|
|||
cheatsheet = true, -- fuzzy search your commands/keymappings
|
||||
colorizer = true,
|
||||
comment = true, -- universal commentor
|
||||
dashboard = true, -- a nice looking dashboard
|
||||
dashboard = false, -- a nice looking dashboard
|
||||
esc_insertmode = true, -- escape from insert mode using custom keys
|
||||
feline = true, -- statusline
|
||||
gitsigns = true, -- gitsigns in statusline
|
||||
|
|
|
@ -85,7 +85,7 @@ M.plugin_status = {
|
|||
cheatsheet = true, -- fuzzy search your commands/keymappings
|
||||
colorizer = true,
|
||||
comment = true, -- universal commentor
|
||||
dashboard = true, -- a nice looking dashboard
|
||||
dashboard = false, -- a nice looking dashboard
|
||||
esc_insertmode = true, -- escape from insert mode using custom keys
|
||||
feline = true, -- statusline
|
||||
gitsigns = true, -- gitsigns in statusline
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
local g = vim.g
|
||||
local fn = vim.fn
|
||||
|
||||
-- local fn = vim.fn
|
||||
-- local plugins_count = fn.len(fn.globpath("~/.local/share/nvim/site/pack/packer/start", "*", 0, 1))
|
||||
|
||||
g.dashboard_disable_at_vimenter = 1 -- dashboard is disabled by default
|
||||
g.dashboard_disable_at_vimenter = 0
|
||||
g.dashboard_disable_statusline = 1
|
||||
g.dashboard_default_executive = "telescope"
|
||||
g.dashboard_custom_header = {
|
||||
|
|
|
@ -233,13 +233,6 @@ return packer.startup(function()
|
|||
use {
|
||||
"glepnir/dashboard-nvim",
|
||||
disable = not plugin_status.dashboard,
|
||||
cmd = {
|
||||
"Dashboard",
|
||||
"DashboardNewFile",
|
||||
"DashboardJumpMarks",
|
||||
"SessionLoad",
|
||||
"SessionSave",
|
||||
},
|
||||
config = function()
|
||||
require "plugins.configs.dashboard"
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue