Update config files
This commit is contained in:
parent
aaf545a1a9
commit
3c3d493a0f
5 changed files with 25 additions and 270 deletions
|
|
@ -2,6 +2,7 @@
|
|||
"extras": [
|
||||
"lazyvim.plugins.extras.editor.inc-rename",
|
||||
"lazyvim.plugins.extras.lang.docker",
|
||||
"lazyvim.plugins.extras.lang.go",
|
||||
"lazyvim.plugins.extras.lang.json",
|
||||
"lazyvim.plugins.extras.lang.markdown",
|
||||
"lazyvim.plugins.extras.lang.python",
|
||||
|
|
@ -10,8 +11,9 @@
|
|||
"lazyvim.plugins.extras.ui.mini-animate",
|
||||
"lazyvim.plugins.extras.util.chezmoi"
|
||||
],
|
||||
"install_version": 7,
|
||||
"news": {
|
||||
"NEWS.md": "7107"
|
||||
"NEWS.md": "10960"
|
||||
},
|
||||
"version": 7
|
||||
"version": 8
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"https://gitea.gwairfelin.com/max/openingh.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>gB",
|
||||
"<cmd>OpenInGHFile!<cr>",
|
||||
desc = "Open this file in the git remote",
|
||||
},
|
||||
{
|
||||
"<leader>gB",
|
||||
"<cmd>'<,'>OpenInGHFileLines!<cr>",
|
||||
desc = "Open these lines in the git remote",
|
||||
mode = "v",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
20
home/dot_config/nvim/lua/plugins/snacks-gitbrowse.lua
Normal file
20
home/dot_config/nvim/lua/plugins/snacks-gitbrowse.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
opts = {
|
||||
gitbrowse = {
|
||||
opts = {
|
||||
what = "permalink",
|
||||
},
|
||||
config = function(opts, defaults)
|
||||
opts.url_patterns["bitbucket%.org"] = {
|
||||
branch = "/src/{branch}",
|
||||
file = "/src/{branch}/{file}#lines-{line_start}:{line_end}",
|
||||
permalink = "/src/{commit}/{file}#lines-{line_start}:{line_end}",
|
||||
commit = "/commits/{commit}",
|
||||
}
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue