add lualine and nvim-window to plugins
This commit is contained in:
8
init.lua
8
init.lua
@@ -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")
|
||||
|
Reference in New Issue
Block a user