✨ feat(nvim): add nvim-recorder module to lualine
This commit is contained in:
parent
0219f3fe75
commit
3d1e5fc980
3 changed files with 31 additions and 20 deletions
|
@ -83,6 +83,7 @@
|
|||
"nvim-notify": { "branch": "master", "commit": "ebcdd8219e2a2cbc0a4bef68002f6867f1fde269" },
|
||||
"nvim-numbertoggle": { "branch": "main", "commit": "9ab95e60ea5ec138e1b2332e0fc18b8e5de464c6" },
|
||||
"nvim-puppeteer": { "branch": "main", "commit": "d7e1b2d67c89d32b6ecada88ff67b539ba09f2d7" },
|
||||
"nvim-recorder": { "branch": "main", "commit": "daaae505862e816a7efe578e22d6f3d10cd7a2e6" },
|
||||
"nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "e49f1e8ef3e8450a8446cb1f2bbb53c919f60b6d" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "652ec514d6ba8bc4a3c2de76c855fe668e2c7196" },
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
"plugins.extras.coding.debugprint",
|
||||
"plugins.extras.coding.dial",
|
||||
"plugins.extras.coding.multicursor",
|
||||
"plugins.extras.coding.recorder",
|
||||
"plugins.extras.coding.refactoring",
|
||||
"plugins.extras.coding.sniprun",
|
||||
"plugins.extras.coding.treesitter.endwise",
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
return {
|
||||
{
|
||||
"chrisgrieser/nvim-recorder",
|
||||
dependencies = { "rcarriga/nvim-notify" },
|
||||
event = "VeryLazy",
|
||||
keys = {
|
||||
{ "q", desc = "Start Recording" },
|
||||
{ "Q", desc = "Play Recording" },
|
||||
|
@ -10,7 +12,7 @@ return {
|
|||
{ "dq", desc = "Delete All Macros" },
|
||||
},
|
||||
opts = {
|
||||
useNerdFontsIcons = false,
|
||||
useNerdFontsIcons = true,
|
||||
slots = { "a", "b", "c", "d" },
|
||||
mapping = {
|
||||
startStopRecording = "q",
|
||||
|
@ -21,4 +23,11 @@ return {
|
|||
yankMacro = "yq",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
opts = function(_, opts)
|
||||
table.insert(opts.sections.lualine_x, 2, require("recorder").displaySlots)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue