-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.sh
executable file
·56 lines (51 loc) · 1.27 KB
/
shell.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
mkdir -vp ~/.config/nvim/
mkdir -vp ~/.config/nvim/lua/plugins
mkdir -vp ~/.config/nvim/lua/config
echo 'return {}' > ~/.config/nvim/lua/plugins/init.lua
echo '-- lazy.nvim to manage plugins
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.pretty_print("Cloning lazy.nvim, please wait...\n")
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
require("lazy").setup({
spec = {
{ "cabbetlong/Easim", import = "easim.plugins" },
{ import = "plugins" }, -- local plugins directory
},
defaults = { lazy = true },
checker = { enabled = false },
diff = {
cmd = "terminal_git",
},
change_detection = {
-- automatically check for config file changes and reload the ui
enabled = false,
notify = false, -- get a notification when changes are found
},
performance = {
cache = {
enabled = true,
},
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})' > ~/.config/nvim/init.lua