Bhanuka Mallawaarachchi then maybe you can also add the map assignment to your command. For example i am using : --INFO: select all ["<C-a>"] = { "<Esc>gg<S-v>G<CR>", desc = "Select All" }, to select all in normal mode in AstroNvim. This kind of assignments also can be useful for your command usages.