Merge branch 'main' of github.com:gyoder/dots

This commit is contained in:
Grace Yoder 2026-02-23 00:47:45 +00:00
commit 515241c264
2 changed files with 7 additions and 1 deletions

View file

@ -37,7 +37,7 @@ return require('packer').startup(function(use)
use {
'nvim-treesitter/nvim-treesitter',
config = function() require("plugins/ts") end
-- config = function() require("plugins/ts") end
}
use 'mbbill/undotree'

View file

@ -31,6 +31,12 @@ vim.keymap.set("n", "<leader>qf", vim.lsp.buf.format)
vim.keymap.set("n", "<leader>dd", vim.diagnostic.open_float)
vim.keymap.set("n", "yf", function()
local view = vim.fn.winsaveview()
vim.cmd("%y")
vim.fn.winrestview(view)
end, { desc = "Yank entire file" })
-------- PLUGINS -------