mirror of https://github.com/LazyVim/starter
No big change
parent
c266239459
commit
22f40b3d40
|
@ -33,6 +33,7 @@
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "3ea99227e316c5028f57a4d86a1a7fd01dd876d0" },
|
"nvim-lspconfig": { "branch": "master", "commit": "3ea99227e316c5028f57a4d86a1a7fd01dd876d0" },
|
||||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
|
"nvim-treesitter-context": { "branch": "master", "commit": "404502e607c3b309e405be9112c438c721153372" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0f051e9813a36481f48ca1f833897210dbcfffde" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0f051e9813a36481f48ca1f833897210dbcfffde" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
|
||||||
"persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },
|
"persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
"lazyvim.plugins.extras.lang.markdown",
|
"lazyvim.plugins.extras.lang.markdown",
|
||||||
"lazyvim.plugins.extras.lang.python",
|
"lazyvim.plugins.extras.lang.python",
|
||||||
"lazyvim.plugins.extras.lang.tex",
|
"lazyvim.plugins.extras.lang.tex",
|
||||||
"lazyvim.plugins.extras.test.core"
|
"lazyvim.plugins.extras.test.core",
|
||||||
|
"lazyvim.plugins.extras.ui.treesitter-context"
|
||||||
],
|
],
|
||||||
"install_version": 8,
|
"install_version": 8,
|
||||||
"news": {
|
"news": {
|
||||||
|
|
|
@ -44,7 +44,7 @@ map_all_mode("<D-w>", function()
|
||||||
end
|
end
|
||||||
end, { desc = "Close current tab" })
|
end, { desc = "Close current tab" })
|
||||||
map_all_mode("<D-z>", function() vim.cmd("undo") end)
|
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("c", "<D-v>", "<C-R>+")
|
||||||
vim.keymap.set("n", "<D-v>", '"+p', { desc = "Paste from clipboard" })
|
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." })
|
vim.keymap.set("v", "<D-v>", '"_d"+gP', { desc = "Remove the selected part and paste from system clipboard." })
|
||||||
|
|
|
@ -21,6 +21,12 @@ return {
|
||||||
vim.g.vimtex_view_method = "skim"
|
vim.g.vimtex_view_method = "skim"
|
||||||
vim.g.vimtex_view_skim_sync = 1
|
vim.g.vimtex_view_skim_sync = 1
|
||||||
vim.g.vimtex_view_skim_activate = 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
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue