add dashboard footer & disable statusline in dashboard
This commit is contained in:
parent
36474baab2
commit
18ff27d6b1
3 changed files with 9 additions and 2 deletions
2
init.lua
2
init.lua
|
@ -49,7 +49,7 @@ require "gitsigns-nvim"
|
||||||
require("nvim-autopairs").setup()
|
require("nvim-autopairs").setup()
|
||||||
require("lspkind").init()
|
require("lspkind").init()
|
||||||
|
|
||||||
-- hide line numbers in terminal windows
|
-- hide line numbers , statusline in specific buffers!
|
||||||
vim.api.nvim_exec(
|
vim.api.nvim_exec(
|
||||||
[[
|
[[
|
||||||
au BufEnter term://* setlocal nonumber
|
au BufEnter term://* setlocal nonumber
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
|
|
||||||
|
g.dashboard_disable_statusline = 1
|
||||||
g.dashboard_default_executive = "telescope"
|
g.dashboard_default_executive = "telescope"
|
||||||
g.dashboard_custom_header = {
|
g.dashboard_custom_header = {
|
||||||
|
" ",
|
||||||
" ",
|
" ",
|
||||||
" ",
|
" ",
|
||||||
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
|
||||||
|
@ -26,3 +28,8 @@ g.dashboard_custom_section = {
|
||||||
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 s l"}, command = "SessionLoad"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g.dashboard_custom_footer = {
|
||||||
|
" ",
|
||||||
|
"NvChad v0.5"
|
||||||
|
}
|
||||||
|
|
|
@ -134,7 +134,7 @@ fg_bg("BufferLineCLoseButtonSelected", red, black)
|
||||||
fg("DashboardHeader", grey_fg)
|
fg("DashboardHeader", grey_fg)
|
||||||
fg("DashboardCenter", grey_fg)
|
fg("DashboardCenter", grey_fg)
|
||||||
fg("DashboardShortcut", grey_fg)
|
fg("DashboardShortcut", grey_fg)
|
||||||
fg("DashboardFooter", black)
|
fg("DashboardFooter", grey_fg)
|
||||||
|
|
||||||
-- Default nvim bg
|
-- Default nvim bg
|
||||||
-- cmd "hi Normal guibg=#1e222a"
|
-- cmd "hi Normal guibg=#1e222a"
|
||||||
|
|
Loading…
Reference in a new issue