An extension for telescope.nvim that allows you to manage your macros.
{
"1riz/telescope-macros.nvim",
config = function()
require("telescope").load_extension "macros"
end
}
:Telescope macros
or map to a key:
vim.keymap.set("n", "<space>m", "<cmd>Telescope macros<cr>")
Key | Description |
---|---|
<cr> |
execute macro |
<c-e> |
edit macro |
<c-t> |
append comment |
<c-k> |
clear macro |
<c-a> |
clear all macros |
<c-d> |
delete macro |
<c-r> |
delete all macros |
See setup structure for full details on configuring Telescope pickers.
-
prompt_title
(default:"Macros"
)Defines the title of the prompt window.
-
num_registers
(default:12
)Number of registers to be managed by this extension.
telescope.setup {
extensions = {
macros = {
prompt_title = "Macros",
num_registers = 12,
theme = "dropdown",
layout_strategy = "center",
layout_config = {
height = 0.20,
width = 0.50
}
}
}
}