mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-27 03:08:56 +02:00
Updated 6. Configurations (markdown)
parent
676468f189
commit
64c3ebc6d4
1 changed files with 60 additions and 0 deletions
|
@ -583,3 +583,63 @@ vim.api.nvim_set_keymap("!", "<c-v>", "<C-R>+", { noremap = true, silent = true
|
|||
vim.api.nvim_set_keymap("t", "<c-v>", "<C-R>+", { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("v", "<c-v>", "<C-R>+", { noremap = true, silent = true })
|
||||
```
|
||||
|
||||
# Config Transparant Background
|
||||
1. Find File lua/custom/default.lua and update config
|
||||
```lua
|
||||
vim.g.pcode_transparent_mode = 1
|
||||
vim.g.pcode_clear_lualine = 1
|
||||
```
|
||||
2. Create config plugin transparant
|
||||
- Create file lua/plugin/transparant.lua
|
||||
```lua
|
||||
return {
|
||||
{
|
||||
"akinsho/bufferline.nvim",
|
||||
event = "BufWinEnter",
|
||||
config = function()
|
||||
require("user.bufferline")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
event = "BufWinEnter",
|
||||
config = function()
|
||||
require("user.lualine")
|
||||
end,
|
||||
},
|
||||
-- transparant config
|
||||
{
|
||||
"xiyaowong/transparent.nvim",
|
||||
event = "BufWinEnter",
|
||||
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
|
||||
config = function()
|
||||
require("transparent").clear_prefix("BufferLine")
|
||||
-- clear prefix for which-key
|
||||
require("transparent").clear_prefix("WhichKey")
|
||||
-- clear prefix for lazy.nvim
|
||||
require("transparent").clear_prefix("Lazy")
|
||||
-- clear prefix for NvimTree
|
||||
require("transparent").clear_prefix("NvimTree")
|
||||
-- clear prefix for NeoTree
|
||||
require("transparent").clear_prefix("NeoTree")
|
||||
-- clear prefix for Lualine
|
||||
require("transparent").clear_prefix("Lualine")
|
||||
require("transparent").setup({
|
||||
extra_groups = {},
|
||||
exclude_groups = {
|
||||
-- disable active selection backgroun
|
||||
"CursorLine",
|
||||
"CursorLineNR",
|
||||
"CursorLineSign",
|
||||
"CursorLineFold",
|
||||
-- disable nvimtree CursorLine
|
||||
"NvimTreeCursorLine",
|
||||
-- disable Neotree CursorLine
|
||||
"NeoTreeCursorLine",
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue