diff --git a/data/nvim/init.lua b/data/nvim/init.lua index e3bc99e..5cefd51 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -430,6 +430,9 @@ require("lazy").setup({ }, } end, + config = function() + vim.keymap.set("n", "a", ":A") + end, }, -- https://github.com/echasnovski/mini.nvim @@ -481,18 +484,6 @@ require("lazy").setup({ vim.g.neoformat_enabled_zsh = { "shfmt" } vim.g.shfmt_opt = "-ci" end, - config = function() - local augroup = vim.api.nvim_create_augroup("UserNeoformatConfig", {}) - vim.api.nvim_create_autocmd("BufWritePre", { - group = augroup, - pattern = { - "*.go", - "*.lua", - "*.md", - }, - command = "Neoformat", - }) - end, }, -- https://github.com/nvim-treesitter/nvim-treesitter