No big change

pull/128/head
flin16 2025-05-25 23:24:00 -05:00
parent c266239459
commit 22f40b3d40
5 changed files with 10 additions and 2 deletions

View File

@ -33,6 +33,7 @@
"nvim-lspconfig": { "branch": "master", "commit": "3ea99227e316c5028f57a4d86a1a7fd01dd876d0" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-treesitter-context": { "branch": "master", "commit": "404502e607c3b309e405be9112c438c721153372" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0f051e9813a36481f48ca1f833897210dbcfffde" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
"persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },

View File

@ -7,7 +7,8 @@
"lazyvim.plugins.extras.lang.markdown",
"lazyvim.plugins.extras.lang.python",
"lazyvim.plugins.extras.lang.tex",
"lazyvim.plugins.extras.test.core"
"lazyvim.plugins.extras.test.core",
"lazyvim.plugins.extras.ui.treesitter-context"
],
"install_version": 8,
"news": {

View File

@ -44,7 +44,7 @@ map_all_mode("<D-w>", function()
end
end, { desc = "Close current tab" })
map_all_mode("<D-z>", function() vim.cmd("undo") end)
vim.keymap.set("i", "<D-v>", '<C-O>"+gP')
vim.keymap.set("i", "<D-v>", '<C-O>"+p')
vim.keymap.set("c", "<D-v>", "<C-R>+")
vim.keymap.set("n", "<D-v>", '"+p', { desc = "Paste from clipboard" })
vim.keymap.set("v", "<D-v>", '"_d"+gP', { desc = "Remove the selected part and paste from system clipboard." })

View File

@ -21,6 +21,12 @@ return {
vim.g.vimtex_view_method = "skim"
vim.g.vimtex_view_skim_sync = 1
vim.g.vimtex_view_skim_activate = 1
vim.g.vimtex_toc_custom_matchers = {
{ title = "Theorem", re = [[\v^\s*\\begin\{theorem\}]] },
{ title = "Lemma", re = [[\v^\s*\\begin\{lemma\}]] },
{ title = "Corollary", re = [[\v^\s*\\begin\{corollary\}]] },
{ title = "Definition", re = [[\v^\s*\\begin\{definition\}]] },
}
end
},
{