Skip to content

Commit de8bd4f

Browse files
authored
feat(project): Add in linear-nvim (#1290)
* feat(project): Add in linear-nvim * feat(linear-nvim): Add keymaps based upon the defaults in the plugin readme
1 parent f401d9b commit de8bd4f

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# linear-nvim
2+
3+
A NeoVim plugin to browse and create issues in your Linear workspace. Written in Lua
4+
5+
**Repository:** <https://github.com/rmanocha/linear-nvim>
6+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
return {
2+
"rmanocha/linear-nvim",
3+
dependencies = {
4+
"nvim-lua/plenary.nvim",
5+
"nvim-telescope/telescope.nvim",
6+
"stevearc/dressing.nvim",
7+
{
8+
"AstroNvim/astrocore",
9+
opts = function(_, opts)
10+
local maps = opts.mappings
11+
local prefix = "<Leader>m"
12+
13+
maps.n[prefix] = { desc = "Linear" }
14+
maps.n[prefix .. "m"] = {
15+
function() require("linear-nvim").show_assigned_issues() end,
16+
desc = "Show assigned issues",
17+
}
18+
maps.v[prefix .. "c"] = {
19+
function() require("linear-nvim").create_issue() end,
20+
desc = "Toggle local note",
21+
}
22+
maps.n[prefix .. "c"] = {
23+
function() require("linear-nvim").create_issue() end,
24+
desc = "Toggle local note",
25+
}
26+
maps.n[prefix .. "s"] = {
27+
function() require("linear-nvim").show_issue_details() end,
28+
desc = "Toggle local note",
29+
}
30+
end,
31+
},
32+
},
33+
opts = {},
34+
}

0 commit comments

Comments
 (0)