🎨 ux(nvim): disable neogit colorscheme integration and terminal backdrop

This commit is contained in:
Sergio Laín 2024-09-06 13:29:44 +02:00
parent 7a41b4683e
commit f61af27cdb
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
2 changed files with 4 additions and 4 deletions

View file

@ -191,11 +191,11 @@ map("n", "<leader>@", "zug", { desc = "Remove Word from Dictionary" })
-- Terminal Stuff -- Terminal Stuff
if not LazyVim.has("floaterm.nvim") or not LazyVim.has("toggleterm.nvim") then if not LazyVim.has("floaterm.nvim") or not LazyVim.has("toggleterm.nvim") then
local lazyterm = function() local lazyterm = function()
LazyVim.terminal(nil, { backdrop = 90.0, size = { width = 0.8, height = 0.8 }, cwd = LazyVim.root() }) LazyVim.terminal(nil, { size = { width = 0.8, height = 0.8 }, cwd = LazyVim.root() })
end end
map("n", "<leader>ft", lazyterm, { desc = "Terminal (Root Dir)" }) map("n", "<leader>ft", lazyterm, { desc = "Terminal (Root Dir)" })
map("n", "<leader>fT", function() map("n", "<leader>fT", function()
LazyVim.terminal(nil, { backdrop = 90.0, size = { width = 0.8, height = 0.8 }, cwd = vim.fn.getcwd() }) LazyVim.terminal(nil, { size = { width = 0.8, height = 0.8 }, cwd = vim.fn.getcwd() })
end, { desc = "Terminal (cwd)" }) end, { desc = "Terminal (cwd)" })
map("n", [[<c-\>]], lazyterm, { desc = "Terminal (Root Dir)" }) map("n", [[<c-\>]], lazyterm, { desc = "Terminal (Root Dir)" })
map("t", [[<c-\>]], "<cmd>close<cr>", { desc = "Hide Terminal" }) map("t", [[<c-\>]], "<cmd>close<cr>", { desc = "Hide Terminal" })
@ -229,7 +229,7 @@ map("n", "go", "<Cmd>call append(line('.'), repeat([''], v:count1))<CR>", { desc
map({ "c", "i", "t" }, "<M-BS>", "<C-w>", { desc = "Delete Word" }) map({ "c", "i", "t" }, "<M-BS>", "<C-w>", { desc = "Delete Word" })
-- Git -- Git
map("n", "<leader>ghB", LazyVim.lazygit.blame_line, { desc = "Blame Line (LazyGit)" }) map("n", "<leader>ghb", LazyVim.lazygit.blame_line, { desc = "Blame Line" })
-- Windows Split -- Windows Split
map("n", "<leader>_", "<C-W>s", { desc = "Split Window Below", remap = true }) map("n", "<leader>_", "<C-W>s", { desc = "Split Window Below", remap = true })

View file

@ -84,7 +84,7 @@ return {
lsp_trouble = false, lsp_trouble = false,
navic = { enabled = false, custom_bg = "lualine" }, navic = { enabled = false, custom_bg = "lualine" },
neotest = true, neotest = true,
neogit = true, neogit = false,
neotree = true, neotree = true,
notify = true, notify = true,
noice = true, noice = true,