mirror of https://github.com/LazyVim/starter
Auto commit
parent
0e66a31725
commit
d32ca6427a
|
@ -44,6 +44,7 @@
|
|||
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
|
||||
"ts-comments.nvim": { "branch": "main", "commit": "1bd9d0ba1d8b336c3db50692ffd0955fe1bb9f0c" },
|
||||
"venv-selector.nvim": { "branch": "regexp", "commit": "c677caa1030808a9f90092e522de7cc20c1390dd" },
|
||||
"vimtex": { "branch": "master", "commit": "08760834ce04903deb6f8760e61c11cf6f6b2f89" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
|
||||
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" }
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"lazyvim.plugins.extras.coding.yanky",
|
||||
"lazyvim.plugins.extras.editor.refactoring",
|
||||
"lazyvim.plugins.extras.lang.python",
|
||||
"lazyvim.plugins.extras.lang.tex",
|
||||
"lazyvim.plugins.extras.test.core"
|
||||
],
|
||||
"install_version": 8,
|
||||
|
|
|
@ -15,6 +15,9 @@ map_nv("<BS>", '"_d', { desc = "Delete selection with Del" })
|
|||
map_all_mode("<F5>", function()
|
||||
require("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()
|
||||
require("dap").step_over()
|
||||
end, { desc = "DAP: Step Over" })
|
||||
|
@ -27,6 +30,12 @@ end, { desc = "DAP: Step Out" })
|
|||
vim.keymap.set("n", "\\b", function()
|
||||
require("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
|
||||
vim.keymap.set("n", "<D-s>", ":w<CR>") -- Save
|
||||
vim.keymap.set("i", "<D-s>", "<C-O>:w<CR>")
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
-- Add any additional options here
|
||||
vim.o.clipboard = ""
|
||||
vim.o.guifont = "Monaco:h16"
|
||||
vim.cmd("colorscheme molokai")
|
||||
|
||||
local dap = require("dap")
|
||||
|
||||
dap.adapters.python = {
|
||||
|
|
|
@ -1,14 +1,29 @@
|
|||
-- since this is just an example spec, don't actually load anything here and return an empty spec
|
||||
-- stylua: ignore
|
||||
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",
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
sh = { "shellcheck" },
|
||||
tex = { "chktex" },
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
config = function()
|
||||
local lint = require("lint")
|
||||
lint.linters.ruff.args = { "--ignore=E401", }
|
||||
end
|
||||
|
@ -19,6 +34,7 @@ return {
|
|||
python = { "black" },
|
||||
sh = { "shfmt" },
|
||||
lua = { "stylua" },
|
||||
tex = { "latexindent" },
|
||||
},
|
||||
}},
|
||||
{"neovim/nvim-lspconfig",
|
||||
|
@ -38,15 +54,6 @@ return {
|
|||
require("dap-python").setup("python")
|
||||
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",
|
||||
dependencies = {
|
||||
|
|
Loading…
Reference in New Issue