From 5b1f71480f9ad7ad60dc66235ee67113f657ae28 Mon Sep 17 00:00:00 2001 From: Binciu Viorel Date: Sun, 26 May 2024 10:16:00 +0300 Subject: [PATCH] feat: Added editor --- lua/plugins/editor.lua | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lua/plugins/editor.lua diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua new file mode 100644 index 0000000..c702913 --- /dev/null +++ b/lua/plugins/editor.lua @@ -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, + }, + }, + }, + }, +}