git plugins

This commit is contained in:
2026-04-23 16:34:19 -05:00
parent 65992c0328
commit 5daf653ebb
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ require("lazy").setup {
{ import = "plugins" }, { import = "plugins" },
}, },
install = { colorscheme = { "tokyonight" } }, install = { colorscheme = { "tokyonight" } },
checker = { enabled = true, notify = false }, checker = { enabled = false, notify = false },
} }
vim.cmd [[colorscheme tokyonight]] vim.cmd [[colorscheme tokyonight]]
-2
View File
@@ -13,8 +13,6 @@ map("n", "<C-k>", "<C-w>k", { desc = "switch window up" })
map("n", "<Esc>", "<cmd>noh<CR>", { desc = "general clear highlights" }) map("n", "<Esc>", "<cmd>noh<CR>", { desc = "general clear highlights" })
map("n", "<leader>n", "<cmd>set nu!<CR>", { desc = "toggle line number" })
map("n", "<leader>/", "gcc", { desc = "toggle comment", remap = true }) map("n", "<leader>/", "gcc", { desc = "toggle comment", remap = true })
map("v", "<leader>/", "gc", { desc = "toggle comment", remap = true }) map("v", "<leader>/", "gc", { desc = "toggle comment", remap = true })
+9 -4
View File
@@ -6,12 +6,16 @@ if vim.env.SSH_CONNECTION then
vim.g.clipboard = { vim.g.clipboard = {
name = "OSC 52", name = "OSC 52",
copy = { copy = {
["+"] = require("vim.ui.clipboard.osc52").copy("+"), ["+"] = require("vim.ui.clipboard.osc52").copy "+",
["*"] = require("vim.ui.clipboard.osc52").copy("*"), ["*"] = require("vim.ui.clipboard.osc52").copy "*",
}, },
paste = { paste = {
["+"] = function() return nil end, ["+"] = function()
["*"] = function() return nil end, return nil
end,
["*"] = function()
return nil
end,
}, },
} }
end end
@@ -23,3 +27,4 @@ vim.opt.shiftwidth = 2
vim.opt.tabstop = 2 vim.opt.tabstop = 2
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.autoindent = true vim.opt.autoindent = true
vim.opt.number = true
+1
View File
@@ -21,6 +21,7 @@ return {
yaml = { "yamlfmt" }, yaml = { "yamlfmt" },
nix = { "nixfmt" }, nix = { "nixfmt" },
bash = { "shfmt" }, bash = { "shfmt" },
php = { "mago_format" },
}, },
default_format_opts = { default_format_opts = {
lsp_format = "fallback", lsp_format = "fallback",