fix Dashboard docs, fix default_config issue
This commit is contained in:
parent
3ccd804da9
commit
fd5d50f194
|
@ -20,7 +20,7 @@ M.ui = {
|
||||||
hidden_statusline = {
|
hidden_statusline = {
|
||||||
-- these are filetypes, not pattern matched
|
-- these are filetypes, not pattern matched
|
||||||
"NvimTree",
|
"NvimTree",
|
||||||
-- "terminal",
|
"terminal",
|
||||||
},
|
},
|
||||||
statusline_style = "default", -- default, round , slant , block , arrow
|
statusline_style = "default", -- default, round , slant , block , arrow
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ M.ui = {
|
||||||
hidden_statusline = {
|
hidden_statusline = {
|
||||||
-- these are filetypes, not pattern matched
|
-- these are filetypes, not pattern matched
|
||||||
"NvimTree",
|
"NvimTree",
|
||||||
"terminal",
|
-- "terminal",
|
||||||
},
|
},
|
||||||
statusline_style = "default", -- default, round , slant , block , arrow
|
statusline_style = "default", -- default, round , slant , block , arrow
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@ M.options = {
|
||||||
timeoutlen = 400,
|
timeoutlen = 400,
|
||||||
clipboard = "unnamedplus",
|
clipboard = "unnamedplus",
|
||||||
number = true,
|
number = true,
|
||||||
|
-- relative numbers in normal mode tool at the bottom of options.lua
|
||||||
relativenumber = false,
|
relativenumber = false,
|
||||||
numberwidth = 2,
|
numberwidth = 2,
|
||||||
expandtab = true,
|
expandtab = true,
|
||||||
|
|
|
@ -30,7 +30,7 @@ g.dashboard_custom_section = {
|
||||||
c = { description = { " Find Word SPC f w" }, command = "Telescope live_grep" },
|
c = { description = { " Find Word SPC f w" }, command = "Telescope live_grep" },
|
||||||
d = { description = { "洛 New File SPC f n" }, command = "DashboardNewFile" },
|
d = { description = { "洛 New File SPC f n" }, command = "DashboardNewFile" },
|
||||||
e = { description = { " Bookmarks SPC b m" }, command = "Telescope marks" },
|
e = { description = { " Bookmarks SPC b m" }, command = "Telescope marks" },
|
||||||
f = { description = { " Load Last Session SPC s l" }, command = "SessionLoad" },
|
f = { description = { " Load Last Session SPC l" }, command = "SessionLoad" },
|
||||||
}
|
}
|
||||||
|
|
||||||
g.dashboard_custom_footer = {
|
g.dashboard_custom_footer = {
|
||||||
|
|
Loading…
Reference in New Issue