mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
feat: Added editor
This commit is contained in:
parent
957753ef18
commit
5b1f71480f
1 changed files with 44 additions and 0 deletions
44
lua/plugins/editor.lua
Normal file
44
lua/plugins/editor.lua
Normal 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,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue