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, + }, + }, + }, + }, +}