change neogit behavior
This commit is contained in:
parent
e0c15e9e3f
commit
61dd8af57c
@ -12,12 +12,12 @@ return {
|
|||||||
"https://github.com/NeogitOrg/neogit",
|
"https://github.com/NeogitOrg/neogit",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
'<leader>gs',
|
'<leader>gn',
|
||||||
function()
|
function()
|
||||||
return require('neogit').open()
|
return require('neogit').open({cwd = "%:p:h"})
|
||||||
end,
|
end,
|
||||||
desc = 'Open neogit',
|
desc = 'Open neogit',
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
cmd = "Neogit",
|
cmd = "Neogit",
|
||||||
|
@ -40,7 +40,7 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
update_focused_file = {
|
update_focused_file = {
|
||||||
enable = true,
|
enable = false,
|
||||||
update_root = true,
|
update_root = true,
|
||||||
},
|
},
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
|
Loading…
Reference in New Issue
Block a user