mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
chezmoi: reorganise repo
This commit is contained in:
parent
b391e03c87
commit
67a78879db
278 changed files with 102 additions and 182 deletions
|
|
@ -1,26 +0,0 @@
|
|||
local function get_highlight()
|
||||
if vim.g.colors_name == "catppuccin" then
|
||||
-- NOTE: This won't work since no integration is available
|
||||
return require("catppuccin.groups.integrations.bufferline").get()
|
||||
-- return require("rose-pine.plugins.toggleterm")
|
||||
elseif vim.g.colors_name == "rose-pine" then
|
||||
return require("rose-pine.plugins.toggleterm")
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
"akinsho/toggleterm.nvim",
|
||||
keys = {
|
||||
{ "<leader>!", "<cmd>ToggleTerm direction=float<CR>", desc = "Toggle Terminal" },
|
||||
{ "<leader>tf", "<cmd>ToggleTerm direction=float<CR>", desc = "Toggle Terminal" },
|
||||
{ "<leader>tt", "<cmd>ToggleTerm<CR>", desc = "Spawn a float terminal" },
|
||||
},
|
||||
event = "ColorScheme",
|
||||
opts = {
|
||||
highlights = get_highlight(),
|
||||
},
|
||||
cmd = {
|
||||
"ToggleTerm",
|
||||
"LazyGit",
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue