move scripts, update other things
This commit is contained in:
1 parent
8be9fe6370
commit
0c79acd431
61 files changed
+2728
-539
No files matched your search
@@ -1,12 +1,29 @@
|
||||
require("coq_3p").setup()({
|
||||
require("coq_3p")({
|
||||
{ src = "nvimlua", short_name = "nLUA", conf_only = true },
|
||||
{ src = "bc", short_name = "MATH", precision = 6 }, -- scientific calculator
|
||||
{ src = "bc", short_name = "MATH", precision = 2 }, -- scientific calculator
|
||||
{
|
||||
src = "repl",
|
||||
-- sh = "bash",
|
||||
sh = "fish",
|
||||
shell = { p = "perl", n = "node", g = "git", ... },
|
||||
max_lines = 20,
|
||||
arg = "-c",
|
||||
shell = { p = "perl" },
|
||||
max_lines = 99,
|
||||
deadline = 500,
|
||||
unsafe = { "rm", "poweroff", "mv", "cp", "systemctl", "sudo", ... },
|
||||
unsafe = {
|
||||
"rm",
|
||||
"mv",
|
||||
"cp",
|
||||
"git",
|
||||
"exec",
|
||||
"sed",
|
||||
"eval",
|
||||
"sudo",
|
||||
"poweroff",
|
||||
"restart",
|
||||
"halt",
|
||||
"systemctl",
|
||||
},
|
||||
},
|
||||
{ src = "dap" },
|
||||
{ src = "figlet", short_name = "BIG", trigger = "!big" },
|
||||
})
|
||||
@@ -11,10 +11,10 @@ require("plug_init.mini_init")
|
||||
require("plug_init.ft_autocmds")
|
||||
require("plug_init.godot_editor")
|
||||
|
||||
--require("plug_init.lsp_init")
|
||||
require("plug_init.coq_third_party")
|
||||
--require("plug_init.which_key_init")
|
||||
-- require("plug_init.wilder_init")
|
||||
|
||||
--require("plug_init.color-picker_init")
|
||||
|
||||
--require("plug_init.neovide_conf")
|
||||
require("plug_init.neovide_conf")
|
||||
@@ -1,17 +1,17 @@
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
end
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
|
||||
@@ -1,3 +1,28 @@
|
||||
require("coq_3p")({
|
||||
{
|
||||
src = "repl",
|
||||
-- sh = "bash",
|
||||
sh = "fish",
|
||||
arg = "-c",
|
||||
shell = { p = "perl" },
|
||||
max_lines = 99,
|
||||
deadline = 500,
|
||||
unsafe = {
|
||||
"rm",
|
||||
"mv",
|
||||
"cp",
|
||||
"git",
|
||||
"exec",
|
||||
"sed",
|
||||
"eval",
|
||||
"sudo",
|
||||
"poweroff",
|
||||
"restart",
|
||||
"halt",
|
||||
"systemctl",
|
||||
},
|
||||
},
|
||||
})
|
||||
-- vim.api.nvim_create_autocmd("LspAttach", {
|
||||
-- group = vim.api.nvim_create_augroup("UserLspConfig", {}),
|
||||
-- callback = function(ev)
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
vim.g.neovide_refresh_rate = 60
|
||||
vim.g.neovide_refresh_rate_idle = 5
|
||||
vim.g.neovide_refresh_rate = 120
|
||||
vim.g.neovide_refresh_rate_idle = 2
|
||||
vim.g.neovide_no_idle = false
|
||||
vim.g.neovide_cursor_trail_size = 0.05
|
||||
vim.g.neovide_cursor_animation_length = 0.01
|
||||
vim.g.neovide_cursor_trail_size = 0.2
|
||||
vim.g.neovide_cursor_animation_length = 0.07
|
||||
vim.g.neovide_cursor_short_animation_length = 0.02
|
||||
vim.g.neovide_cursor_unfocused_outline_width = 0.1
|
||||
vim.g.neovide_cursor_vfx_mode = "railgun" -- pixiedust, railgun, ripple, sonicboom, torpedo, wireframe
|
||||
vim.g.neovide_cursor_vfx_particle_speed = 100.0
|
||||
vim.g.neovide_cursor_vfx_particle_phase = 1.0 -- mass of particles, only railgun
|
||||
vim.g.neovide_cursor_vfx_particle_speed = 150.0
|
||||
vim.g.neovide_cursor_vfx_particle_phase = 1.1 -- mass of particles, only railgun
|
||||
vim.g.neovide_cursor_vfx_particle_curl = 1.0 -- rotation of particles, only railgun
|
||||
vim.g.neovide_cursor_vfx_particle_lifetime = 1.0
|
||||
vim.g.neovide_cursor_vfx_particle_density = 7
|
||||
vim.g.neovide_cursor_vfx_particle_lifetime = 0.6
|
||||
vim.g.neovide_cursor_vfx_particle_density = 15
|
||||
@@ -25,6 +25,11 @@ vim.o.updatetime = 30
|
||||
vim.o.colorcolumn = "79"
|
||||
vim.o.cmdheight = 0 -- remove the last interface line under statusline
|
||||
vim.o.showmode = false -- stop noice from showing mode, lualine will show mode anyway
|
||||
vim.o.foldlevel = 10
|
||||
|
||||
vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()"
|
||||
vim.bo.indentexpr = "v:lua.vim.treesitter.indentexpr()"
|
||||
|
||||
---
|
||||
vim.g.netrw_preview = 1
|
||||
vim.g.netrw_liststyle = 3
|
||||
|
||||
Reference in new issue
Block a user