{ ... }: { programs.nixvim = { keymaps = [ { mode = "n"; key = "m"; action = ":Neotree action=focus reveal toggle"; options.silent = true; } ]; plugins.neo-tree = { enable = true; settings = { close_if_last_window = true; window = { width = 30; autoExpandWidth = true; position = "right"; }; }; }; }; }