diff --git a/home-manager/modules/nvim.nix b/home-manager/modules/nvim.nix index 89e9848..afb5c8c 100644 --- a/home-manager/modules/nvim.nix +++ b/home-manager/modules/nvim.nix @@ -7,11 +7,18 @@ viAlias = true; vimAlias = true; - keymaps = [{ - action = "Oil"; - key = "e"; - options = { silent = true; }; - }]; + keymaps = [ + { + action = "Oil"; + key = "e"; + options = { silent = true; }; + } + { + action = "lua require('conform').format({ bufnr = buf })"; + key = "f"; + options = { silent = true; }; + } + ]; options = { hlsearch = false;