Auto commit

pull/128/head
flin16 2025-05-24 21:35:43 -05:00
parent 0e66a31725
commit d32ca6427a
5 changed files with 29 additions and 13 deletions

View File

@ -44,6 +44,7 @@
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" }, "trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" }, "ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" },
"venv-selector.nvim": { "branch": "regexp", "commit": "c677caa1030808a9f90092e522de7cc20c1390dd" }, "venv-selector.nvim": { "branch": "regexp", "commit": "c677caa1030808a9f90092e522de7cc20c1390dd" },
"vimtex": { "branch": "master", "commit": "08760834ce04903deb6f8760e61c11cf6f6b2f89" },
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }, "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" } "yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" }
} }

View File

@ -4,6 +4,7 @@
"lazyvim.plugins.extras.coding.yanky", "lazyvim.plugins.extras.coding.yanky",
"lazyvim.plugins.extras.editor.refactoring", "lazyvim.plugins.extras.editor.refactoring",
"lazyvim.plugins.extras.lang.python", "lazyvim.plugins.extras.lang.python",
"lazyvim.plugins.extras.lang.tex",
"lazyvim.plugins.extras.test.core" "lazyvim.plugins.extras.test.core"
], ],
"install_version": 8, "install_version": 8,

View File

@ -15,6 +15,9 @@ map_nv("<BS>", '"_d', { desc = "Delete selection with Del" })
map_all_mode("<F5>", function() map_all_mode("<F5>", function()
require("dap").continue() require("dap").continue()
end, { desc = "DAP: Continue" }) end, { desc = "DAP: Continue" })
map_all_mode("<F6>", function()
require("dap").run_last()
end, { desc = "DAP: Use last config" })
map_all_mode("<F10>", function() map_all_mode("<F10>", function()
require("dap").step_over() require("dap").step_over()
end, { desc = "DAP: Step Over" }) end, { desc = "DAP: Step Over" })
@ -27,6 +30,12 @@ end, { desc = "DAP: Step Out" })
vim.keymap.set("n", "\\b", function() vim.keymap.set("n", "\\b", function()
require("dap").toggle_breakpoint() require("dap").toggle_breakpoint()
end, { desc = "DAP: Toggle Breakpoint" }) end, { desc = "DAP: Toggle Breakpoint" })
--Git settings
-- vim.keymap.set("n", "<leader>ga", function()
-- require("Snacks").
-- end, { desc = "Git: Find files" })
if vim.g.neovide then if vim.g.neovide then
vim.keymap.set("n", "<D-s>", ":w<CR>") -- Save vim.keymap.set("n", "<D-s>", ":w<CR>") -- Save
vim.keymap.set("i", "<D-s>", "<C-O>:w<CR>") vim.keymap.set("i", "<D-s>", "<C-O>:w<CR>")

View File

@ -3,8 +3,6 @@
-- Add any additional options here -- Add any additional options here
vim.o.clipboard = "" vim.o.clipboard = ""
vim.o.guifont = "Monaco:h16" vim.o.guifont = "Monaco:h16"
vim.cmd("colorscheme molokai")
local dap = require("dap") local dap = require("dap")
dap.adapters.python = { dap.adapters.python = {

View File

@ -1,14 +1,29 @@
-- since this is just an example spec, don't actually load anything here and return an empty spec -- since this is just an example spec, don't actually load anything here and return an empty spec
-- stylua: ignore -- stylua: ignore
return { return {
'tomasr/molokai', -- colorscheme {
'tomasr/molokai', -- colorscheme
config = function()
vim.cmd.colorscheme("molokai")
end,
},
{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
init = function()
vim.g.vimtex_view_method = "skim"
vim.g.vimtex_view_skim_sync = 1
vim.g.vimtex_view_skim_activate = 1
end
},
{"mfussenegger/nvim-lint", {"mfussenegger/nvim-lint",
opts = { opts = {
linters_by_ft = { linters_by_ft = {
sh = { "shellcheck" }, sh = { "shellcheck" },
tex = { "chktex" },
}, },
}, },
config = function(_, opts) config = function()
local lint = require("lint") local lint = require("lint")
lint.linters.ruff.args = { "--ignore=E401", } lint.linters.ruff.args = { "--ignore=E401", }
end end
@ -19,6 +34,7 @@ return {
python = { "black" }, python = { "black" },
sh = { "shfmt" }, sh = { "shfmt" },
lua = { "stylua" }, lua = { "stylua" },
tex = { "latexindent" },
}, },
}}, }},
{"neovim/nvim-lspconfig", {"neovim/nvim-lspconfig",
@ -38,15 +54,6 @@ return {
require("dap-python").setup("python") require("dap-python").setup("python")
end, end,
}, },
{
"github/copilot.vim",
config = function()
vim.g.copilot_no_tab_map = false
vim.api.nvim_set_keymap("i", "<C-Tab>", 'copilot#Accept("<CR>")', { silent = true, expr = true })
-- Use a different keybinding for accepting suggestions, for terminal mode.
vim.api.nvim_set_keymap("i", "<C-M>", 'copilot#Accept("<CR>")', { silent = true, expr = true })
end,
},
{ {
"amitds1997/remote-nvim.nvim", "amitds1997/remote-nvim.nvim",
dependencies = { dependencies = {