add lualine and nvim-window to plugins

This commit is contained in:
2025-04-11 18:01:03 +08:00
parent 650d88fcaa
commit bf0b80b924
3 changed files with 100 additions and 0 deletions

View File

@@ -45,5 +45,13 @@ vim.opt.writebackup = false
vim.g.mapleader = " " -- set leader key to space
vim.g.maplocalleader = " " -- set local leader key to space
if vim.loop.os_uname().sysname == "Windows_NT" then -- set default shell to powershell on Windows
vim.opt.shell = "powershell.exe"
vim.opt.shellcmdflag = "-Command"
vim.opt.shellquote = ""
vim.opt.shellxquote = ""
vim.opt.shellredir = "2>&1 | Out-File -Encoding ASCII %s; exit $LastExitCode"
vim.opt.shellpipe = "2>&1 | Out-File -Encoding ASCII %s; exit $LastExitCode"
end
require("config.lazy")