mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
e9fbb801fb
* feat: don't move config on install * fix: add mkdir
26 lines
947 B
Lua
26 lines
947 B
Lua
-- Read the docs: https://www.lunarvim.org/docs/configuration
|
|
-- 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 -NoLogo"
|
|
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",
|
|
},
|
|
}
|