Add snacks renaming, and change gitbrowse to open branch instead of
repo.
This commit is contained in:
parent
cd6dd4d840
commit
1c99da0ab1
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
gitbrowse = {
|
gitbrowse = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
what = "repo",
|
what = "branch",
|
||||||
},
|
},
|
||||||
picker = { enabled = true, },
|
picker = { enabled = true, },
|
||||||
dashboard = {
|
dashboard = {
|
||||||
|
|
@ -69,6 +69,8 @@ return {
|
||||||
{ "<leader>tg", function() Snacks.picker.git_log_file() end, },
|
{ "<leader>tg", function() Snacks.picker.git_log_file() end, },
|
||||||
{ "<leader>ts", function() Snacks.picker.lsp_workspace_symbols() end, },
|
{ "<leader>ts", function() Snacks.picker.lsp_workspace_symbols() end, },
|
||||||
{ "<leader>tn", function() Snacks.picker.notifications() end },
|
{ "<leader>tn", function() Snacks.picker.notifications() end },
|
||||||
|
|
||||||
|
{ "<leader>fr", function() Snacks.rename.rename_file({}) end },
|
||||||
},
|
},
|
||||||
init = function()
|
init = function()
|
||||||
vim.api.nvim_create_autocmd("User", {
|
vim.api.nvim_create_autocmd("User", {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue