Return to using tab and split for neogit

This commit is contained in:
Evie Litherland-Smith 2023-05-12 08:39:10 +01:00
parent 58ed61d485
commit 0bdae5f583
2 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ return {
dashboard.button("f", "" .. " Find file", ":Telescope find_files <CR>"), dashboard.button("f", "" .. " Find file", ":Telescope find_files <CR>"),
dashboard.button("n", "" .. " New file", ":ene <BAR> startinsert <CR>"), dashboard.button("n", "" .. " New file", ":ene <BAR> startinsert <CR>"),
dashboard.button("r", "" .. " Recent files", ":Telescope oldfiles <CR>"), dashboard.button("r", "" .. " Recent files", ":Telescope oldfiles <CR>"),
dashboard.button("g", "󰊢 " .. " Git status", ":Neogit kind=floating <CR>"), dashboard.button("g", "󰊢 " .. " Git status", ":Neogit <CR>"),
dashboard.button("c", "" .. " Config", ":e $MYVIMRC <CR>"), dashboard.button("c", "" .. " Config", ":e $MYVIMRC <CR>"),
dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy<CR>"), dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy<CR>"),
dashboard.button("q", "" .. " Quit", ":qa<CR>"), dashboard.button("q", "" .. " Quit", ":qa<CR>"),

View file

@ -15,10 +15,10 @@ return {
opts = { opts = {
disable_commit_confirmation = true, disable_commit_confirmation = true,
disable_builtin_notifications = true, disable_builtin_notifications = true,
kind = "floating", -- kind = "floating",
commit_popup = { kind = "floating" }, -- commit_popup = { kind = "floating" },
preview_buffer = { kind = "floating" }, -- preview_buffer = { kind = "floating" },
popup = { kind = "floating" }, -- popup = { kind = "floating" },
integrations = { diffview = true }, integrations = { diffview = true },
}, },
} }