feat: Adds find-latest function to zsh, 'fl' alias for it, lazyvim config changes.

This commit is contained in:
2025-04-03 08:50:04 -04:00
parent 3fd33cd92e
commit 547cc41436
6 changed files with 43 additions and 19 deletions

View File

@@ -15,15 +15,15 @@ createCmd("BufEnter", {
})
-- Markdown
createCmd("BufWritePost", {
pattern = { "*.md", "*.markdown" },
group = markdownGroup,
callback = function(_)
local cursor = vim.fn.getpos(".")
vim.cmd("FormatWrite")
vim.fn.setpos(".", cursor)
end,
})
-- createCmd("BufWritePost", {
-- pattern = { "*.md", "*.markdown" },
-- group = markdownGroup,
-- callback = function(_)
-- -- local cursor = vim.fn.getpos(".")
-- vim.cmd("FormatWrite")
-- -- vim.fn.setpos(".", cursor)
-- end,
-- })
-- Go
createCmd("BufWritePre", {