Paul W. 958817c2c1 Add nvim
Signed-off-by: Paul W. <contact@paulw.xyz>
2025-01-07 21:04:19 -05:00

26 lines
814 B
Lua

local alpha_dashboard = require 'alpha.themes.dashboard'
alpha_dashboard.section.buttons.val = {
alpha_dashboard.button("e", "> New file", ":ene <BAR> startinsert <CR>"),
alpha_dashboard.button("f", "> Find file", ":FZF --reverse --info=inline $HOME/Sync<CR>"),
alpha_dashboard.button("r", "> Recent", ":History<CR>"),
alpha_dashboard.button("s", "> Settings", ":e $MYVIMRC | :cd %:p:h | :split . | :q <CR>"),
alpha_dashboard.button("q", "> Quit NVIM", ":qa!<CR>"),
}
if (os.getenv('TERM_PROGRAM') == 'Apple_Terminal') then
vim.cmd.colorscheme('slate')
else
require 'monokai'
.setup()
end
require 'alpha'
.setup(alpha_dashboard.opts)
require 'lualine'
.setup({
options = {
theme = 'tokyonight'
}
})
require 'highlight-undo'
.setup()