Skip to content

Commit

Permalink
fix(linear-nvim)!: Change leader from <Leader>m to <Leader>L (#1314)
Browse files Browse the repository at this point in the history
* fix(linear-nvim): Change leader from `<Leader>m` to `<Leader>L` to 

This makes more sense semantically

* Update lua/astrocommunity/project/linear-nvim/init.lua

Co-authored-by: Micah Halter <micah@mehalter.com>

* Update init.lua

---------

Co-authored-by: Micah Halter <micah@mehalter.com>
  • Loading branch information
Uzaaft and mehalter authored Jan 14, 2025
1 parent 89c9960 commit 6426600
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/astrocommunity/project/linear-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ return {
"AstroNvim/astrocore",
opts = function(_, opts)
local maps = opts.mappings
local prefix = "<Leader>m"
local prefix = "<Leader>L"

maps.n[prefix] = { desc = "Linear" }
maps.n[prefix .. "m"] = {
maps.n[prefix .. "l"] = {
function() require("linear-nvim").show_assigned_issues() end,
desc = "Show assigned issues",
}
maps.v[prefix .. "c"] = {
function() require("linear-nvim").create_issue() end,
desc = "Toggle local note",
desc = "Create issue",
}
maps.n[prefix .. "c"] = {
function() require("linear-nvim").create_issue() end,
desc = "Toggle local note",
desc = "Create issue",
}
maps.n[prefix .. "s"] = {
function() require("linear-nvim").show_issue_details() end,
desc = "Toggle local note",
desc = "Show issue details",
}
end,
},
Expand Down

0 comments on commit 6426600

Please sign in to comment.