{ pkgs, inputs, ... }: { imports = [ inputs.nixvim.homeManagerModules.nixvim ./auto-pairs.nix ./options.nix ./bufferline.nix ./telescope.nix ./nvim-tree.nix ./lightline.nix ./git.nix ./cmp.nix ./none-ls.nix ./wilder.nix ./lsp.nix ./treesitter.nix ./toggleterm.nix ]; programs.nixvim = { enable = true; colorschemes.catppuccin.enable = true; keymaps = [ # Global Mappings # Default mode is "" which means normal-visual-op { # Toggle NvimTree key = "e"; action = "Neotree toggle"; } { # Format file key = "fm"; action = "lua vim.lsp.buf.format()"; } # Terminal Mappings { # Escape terminal mode using ESC mode = "t"; key = ""; action = ""; } ]; }; }