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" },
},
install = { colorscheme = { "tokyonight" } },
checker = { enabled = true, notify = false },
checker = { enabled = false, notify = false },
}
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", "<leader>n", "<cmd>set nu!<CR>", { desc = "toggle line number" })
map("n", "<leader>/", "gcc", { 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 = {
name = "OSC 52",
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 = {
["+"] = function() return nil end,
["*"] = function() return nil end,
["+"] = function()
return nil
end,
["*"] = function()
return nil
end,
},
}
end
@@ -23,3 +27,4 @@ vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.smartindent = true
vim.opt.autoindent = true
vim.opt.number = true
+1
View File
@@ -21,6 +21,7 @@ return {
yaml = { "yamlfmt" },
nix = { "nixfmt" },
bash = { "shfmt" },
php = { "mago_format" },
},
default_format_opts = {
lsp_format = "fallback",