{ ... }: { programs.nixvim.keymaps = [ { action = "Telescope find_files"; key = "ff"; options = { desc = "Find files"; }; } { action = "Telescope projects"; key = "fp"; options = { desc = "Find projects"; }; } { action = "Neotree toggle"; key = "ft"; options = { desc = "Toggle neo-tree"; }; } { action = '' lua vim.lsp.buf.code_action({ apply = true }) ''; key = "lc"; options = { desc = "Apply code actions"; }; } { action = '' lua vim.lsp.buf.format() ''; key = "lf"; options = { desc = "Format buffer"; }; } ]; }