mirror of
https://github.com/softinio/nvim-config.git
synced 2025-09-04 00:26:42 -07:00
add neoclip and octo plugins
This commit is contained in:
parent
f55f491c46
commit
2e34ee2c18
3 changed files with 89 additions and 0 deletions
25
lua/plugins/octo.lua
Normal file
25
lua/plugins/octo.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
"pwntester/octo.nvim",
|
||||
cmd = "Octo",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
config = function()
|
||||
require("octo").setup({
|
||||
enable_builtin = true,
|
||||
file_panel = { use_icons = true },
|
||||
mappings = {
|
||||
review_diff = {
|
||||
select_next_entry = { lhs = "<Tab>", desc = "move to previous changed file" },
|
||||
select_prev_entry = { lhs = "<S-Tab>", desc = "move to next changed file" },
|
||||
},
|
||||
},
|
||||
})
|
||||
vim.treesitter.language.register("markdown", "octo")
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>o", "<cmd>Octo<cr>", desc = "Octo" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue