feat: Added editor

This commit is contained in:
Binciu Viorel 2024-05-26 10:16:00 +03:00
parent 957753ef18
commit 5b1f71480f

44
lua/plugins/editor.lua Normal file
View file

@ -0,0 +1,44 @@
return {
{ -- Configure flash to zip through results easier
"folke/flash.nvim",
opts = {
modes = {
search = {
enabled = false,
},
label = {
rainbow = true,
},
char = {
jump_labels = false,
autohide = true,
},
},
},
},
{ -- Add indent indicators
"lukas-reineke/virt-column.nvim",
opts = {
char = "",
highlight = "CursorLineSign",
virtcolumn = "80,120",
},
},
{ -- Auto save on focus lose
"tmillr/sos.nvim",
lazy = false,
config = function()
require("sos").setup()
end,
},
{
"folke/zen-mode.nvim",
opts = {
window = {
options = {
relativenumber = true,
},
},
},
},
}