-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
22 lines (21 loc) · 694 Bytes
/
Copy pathinit.lua
File metadata and controls
22 lines (21 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
-- Set the background transparency
vim.cmd([[autocmd VimEnter * highlight Normal ctermbg=none guibg=none]])
vim.g.loaded_matchparen = true
vim.cmd([[colorscheme dracula]])
--clipboard WSL integrations
if vim.fn.has("wsl") == 1 then
vim.g.clipboard = {
name = "WslClipboard",
copy = {
["+"] = "clip.exe",
["*"] = "clip.exe",
},
paste = {
["+"] = 'powershell.exe -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
["*"] = 'powershell.exe -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
},
cache_enabled = 0,
}
end