mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add three new plugins
This commit is contained in:
28
nvim/lua/plugins/gh.lua
Normal file
28
nvim/lua/plugins/gh.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
-- A fully featured GitHub integration for performing code reviews
|
||||
-- https://github.com/ldelossa/gh.nvim
|
||||
return {
|
||||
"ldelossa/gh.nvim",
|
||||
dependencies = { "ldelossa/litee.nvim" },
|
||||
config = function()
|
||||
require("litee.lib").setup()
|
||||
require("litee.gh").setup({
|
||||
jump_mode = "invoking",
|
||||
map_resize_keys = false,
|
||||
disable_keymaps = false,
|
||||
icon_set = "default",
|
||||
icon_set_custom = nil,
|
||||
git_buffer_completion = true,
|
||||
keymaps = {
|
||||
open = "<CR>",
|
||||
expand = "zo",
|
||||
collapse = "zc",
|
||||
goto_issue = "gd",
|
||||
details = "d",
|
||||
submit_comment = "<C-s>",
|
||||
actions = "<C-a>",
|
||||
resolve_thread = "<C-r>",
|
||||
goto_web = "gx",
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
28
nvim/lua/plugins/tmux-awesome-plugin-manager.lua
Normal file
28
nvim/lua/plugins/tmux-awesome-plugin-manager.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
-- TMUX commands manager
|
||||
-- https://github.com/otavioschwanck/tmux-awesome-manager.nvim
|
||||
return {
|
||||
"otavioschwanck/tmux-awesome-manager.nvim",
|
||||
keys = {
|
||||
-- stylua: ignore
|
||||
{ "<leader>sT", function() vim.cmd(":Telescope tmux-awesome-manager list_terms") end, desc = "TMUX Awesome Manager" },
|
||||
},
|
||||
config = function()
|
||||
local tmux = require("tmux-awesome-manager")
|
||||
|
||||
tmux.setup({
|
||||
per_project_commands = {
|
||||
astro = { { cmd = "pnpm dev", name = "Astro Dev" } },
|
||||
},
|
||||
session_name = "Neovim Terminals",
|
||||
project_open_as = "window",
|
||||
default_size = "30%",
|
||||
open_new_as = "window",
|
||||
})
|
||||
|
||||
tmux.run_wk({ cmd = "pnpm dev", name = "Astro Development Server" })
|
||||
|
||||
tmux.run_wk({ cmd = "yarn develop", name = "Brewery Server" })
|
||||
tmux.run_wk({ cmd = "MD=${PWD}/packages/xdl/ yarn dev", name = "Brewery Fast Server" })
|
||||
tmux.run_wk({ cmd = "yarn test:unit -u", name = "Brewery Unit Tests" })
|
||||
end,
|
||||
}
|
||||
8
nvim/lua/plugins/wrapping.lua
Normal file
8
nvim/lua/plugins/wrapping.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
-- Switch between hard and soft wrapping
|
||||
-- https://github.com/andrewferrier/wrapping.nvim
|
||||
return {
|
||||
"andrewferrier/wrapping.nvim",
|
||||
config = function()
|
||||
require("wrapping").setup()
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user