123456789101112131415161718192021222324252627 |
- -- Read the docs: https://www.lunarvim.org/docs/configuration
- -- Example configs: https://github.com/LunarVim/starter.lvim
- -- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
- -- Forum: https://www.reddit.com/r/lunarvim/
- -- Discord: https://discord.com/invite/Xb9B4Ny
- -- Enable powershell as your default shell
- vim.opt.shell = "pwsh.exe"
- vim.opt.shellcmdflag =
- "-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command [Console]::InputEncoding=[Console]::OutputEncoding=[System.Text.Encoding]::UTF8;"
- vim.cmd [[
- let &shellredir = '2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode'
- let &shellpipe = '2>&1 | Out-File -Encoding UTF8 %s; exit $LastExitCode'
- set shellquote= shellxquote=
- ]]
- -- Set a compatible clipboard manager
- vim.g.clipboard = {
- copy = {
- ["+"] = "win32yank.exe -i --crlf",
- ["*"] = "win32yank.exe -i --crlf",
- },
- paste = {
- ["+"] = "win32yank.exe -o --lf",
- ["*"] = "win32yank.exe -o --lf",
- },
- }
|