relocate config files
This commit is contained in:
parent
5e530b9dbc
commit
df34683aea
45 changed files with 0 additions and 0 deletions
|
|
@ -1,35 +0,0 @@
|
|||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
local has = vim.fn.has
|
||||
local is_mac = has "macunix"
|
||||
local is_wsl = has "wsl"
|
||||
local is_unix = has "unix"
|
||||
|
||||
-- custom modules:
|
||||
require("keymaps")
|
||||
require("options")
|
||||
|
||||
if is_wsl == 1 then
|
||||
require("clipboard-wsl")
|
||||
end
|
||||
|
||||
if is_mac == 1 then
|
||||
require("clipboard-macos")
|
||||
end
|
||||
|
||||
if is_unix == 1 and is_mac ~= 1 then
|
||||
require("clipboard-unix")
|
||||
end
|
||||
|
||||
require("lazy").setup("plugins")
|
||||
Loading…
Add table
Add a link
Reference in a new issue