add dashboard footer & disable statusline in dashboard

This commit is contained in:
siduck76 2021-06-19 12:50:35 +05:30
parent 36474baab2
commit 18ff27d6b1
3 changed files with 9 additions and 2 deletions

View File

@ -49,7 +49,7 @@ require "gitsigns-nvim"
require("nvim-autopairs").setup()
require("lspkind").init()
-- hide line numbers in terminal windows
-- hide line numbers , statusline in specific buffers!
vim.api.nvim_exec(
[[
au BufEnter term://* setlocal nonumber

View File

@ -1,7 +1,9 @@
local g = vim.g
g.dashboard_disable_statusline = 1
g.dashboard_default_executive = "telescope"
g.dashboard_custom_header = {
" ",
" ",
" ",
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆ ",
@ -26,3 +28,8 @@ g.dashboard_custom_section = {
e = {description = {" Bookmarks SPC b m"}, command = "Telescope marks"},
f = {description = {" Load Last Session SPC s l"}, command = "SessionLoad"}
}
g.dashboard_custom_footer = {
" ",
"NvChad v0.5"
}

View File

@ -134,7 +134,7 @@ fg_bg("BufferLineCLoseButtonSelected", red, black)
fg("DashboardHeader", grey_fg)
fg("DashboardCenter", grey_fg)
fg("DashboardShortcut", grey_fg)
fg("DashboardFooter", black)
fg("DashboardFooter", grey_fg)
-- Default nvim bg
-- cmd "hi Normal guibg=#1e222a"