minor fix

This commit is contained in:
sankalp committed 2023-12-31 19:54:07 +05:45
1 parent a5b23da5bf
commit 30a8afa826
14 files changed
+102 -29

No files matched your search

@@ -27,7 +27,6 @@ return {
},
{
"nvim-lualine/lualine.nvim",
optional = true,
opts = function(_, opts)
local function is_active()
local ok, hydra = pcall(require, "hydra.statusline")
@@ -1,24 +1,33 @@
return {
"chrisgrieser/nvim-recorder",
dependencies = { "rcarriga/nvim-notify" },
keys = {
{ "q", desc = "Start Recording" },
{ "Q", desc = "Play Recording" },
{ "<C-q>", desc = "Switch Slot" },
{ "cq", desc = "Edit Macro" },
{ "yq", desc = "Yank Macro" },
{ "dq", desc = "Delete All Macros" },
},
opts = {
useNerdFontsIcons = false,
slots = { "a", "b", "c", "d" },
mapping = {
startStopRecording = "q",
playMacro = "Q",
editMacro = "cq",
switchSlot = "<C-q>",
deleteAllMacros = "dq",
yankMacro = "yq",
{
"chrisgrieser/nvim-recorder",
dependencies = { "rcarriga/nvim-notify" },
event = "VeryLazy",
keys = {
{ "q", desc = "Start Recording" },
{ "Q", desc = "Play Recording" },
{ "<C-q>", desc = "Switch Slot" },
{ "cq", desc = "Edit Macro" },
{ "yq", desc = "Yank Macro" },
{ "dq", desc = "Delete All Macros" },
},
opts = {
useNerdFontsIcons = true,
slots = { "a", "b", "c", "d" },
mapping = {
startStopRecording = "q",
playMacro = "Q",
editMacro = "cq",
switchSlot = "<C-q>",
deleteAllMacros = "dq",
yankMacro = "yq",
},
},
},
{
"nvim-lualine/lualine.nvim",
opts = function(_, opts)
table.insert(opts.sections.lualine_x, 2, require("recorder").displaySlots)
end,
},
}
@@ -0,0 +1,6 @@
return {
"miikanissi/modus-themes.nvim",
name = "modus",
lazy = false,
opts = {},
}
@@ -0,0 +1,6 @@
return {
"nyngwang/nvimgelion",
name = "nvimgelion",
lazy = false,
opts = {},
}
@@ -0,0 +1,6 @@
return {
"rmehri01/onenord.nvim",
name = "onenord",
lazy = false,
opts = {},
}
@@ -0,0 +1,5 @@
return {
"kvrohit/rasmus.nvim",
name = "rasmus",
lazy = false,
}
@@ -0,0 +1,5 @@
return {
"lewpoly/sherbet.nvim",
name = "sherbet",
lazy = false,
}
@@ -0,0 +1,5 @@
return {
"titanzero/zephyrium",
name = "zephyrium",
lazy = false,
}
+1
View File
@@ -4,6 +4,7 @@ return {
opts.options.component_separators = { left = "", right = "" }
opts.options.section_separators = { left = "", right = "" }
table.remove(opts.sections.lualine_x, 1)
opts.sections.lualine_a = { { "mode", icon = "" } }
opts.sections.lualine_y = { { "progress", icon = "", separator = " ", padding = { left = 1, right = 1 } } }
opts.sections.lualine_z = { { "location", icon = "", padding = { left = 1, right = 1 } } }
+9
View File
@@ -0,0 +1,9 @@
return {
"rcarriga/nvim-notify",
opts = {
fps = 75,
stages = "slide",
render = "wrapped-compact",
timeout = 1000,
},
}