Add: first import
This commit is contained in:
commit
82641f61be
23 changed files with 800 additions and 0 deletions
45
lua/plugins/distraction-free.lua
Normal file
45
lua/plugins/distraction-free.lua
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
return {
|
||||
{
|
||||
"folke/zen-mode.nvim",
|
||||
opts = {
|
||||
window = {
|
||||
backdrop = 0.95,
|
||||
width = 120,
|
||||
options = {
|
||||
signcolumn = "no",
|
||||
number = false,
|
||||
relativenumber = false,
|
||||
cursorline = false,
|
||||
cursorcolumn = false,
|
||||
foldcolumn = "0",
|
||||
--list = false,
|
||||
},
|
||||
},
|
||||
plugins = {
|
||||
options = {
|
||||
enabled = true,
|
||||
ruler = false,
|
||||
showcmd = false,
|
||||
laststatus = 2,
|
||||
},
|
||||
tmux = { enabled = true },
|
||||
todo = { enabled = true },
|
||||
},
|
||||
on_open = function()
|
||||
-- vim.g.zen_mode_active = true
|
||||
vim.cmd("Limelight") -- Active Limelight avec ZenMode
|
||||
end,
|
||||
on_close = function()
|
||||
-- vim.g.zen_mode_active = false
|
||||
vim.cmd("Limelight!") -- Désactive Limelight avec ZenMode
|
||||
end,
|
||||
},
|
||||
},
|
||||
{
|
||||
"junegunn/limelight.vim",
|
||||
config = function()
|
||||
vim.g.limelight_conceal_ctermfg = "gray" -- Couleur des lignes non actives en terminal
|
||||
vim.g.limelight_conceal_guifg = "gray" -- Couleur des lignes non actives en GUI
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue