git plugins
This commit is contained in:
+1
-1
@@ -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]]
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -21,6 +21,7 @@ return {
|
||||
yaml = { "yamlfmt" },
|
||||
nix = { "nixfmt" },
|
||||
bash = { "shfmt" },
|
||||
php = { "mago_format" },
|
||||
},
|
||||
default_format_opts = {
|
||||
lsp_format = "fallback",
|
||||
|
||||
Reference in New Issue
Block a user