local api = vim.api api.nvim_set_keymap("n", "zn", ":TZNarrow", {}) api.nvim_set_keymap("v", "zn", ":'<,'>TZNarrow", {}) api.nvim_set_keymap("n", "zf", ":TZFocus", {}) api.nvim_set_keymap("n", "zm", ":TZMinimalist", {}) api.nvim_set_keymap("n", "za", ":TZAtaraxis", {}) return { "Pocco81/true-zen.nvim", -- Twilight allows to dim text outside of the cursor line. dependencies = { "folke/twilight.nvim", opts = { -- Set the context to null in order to avoid highlighting to much -- paragraphs in markdown. context = 0, }, }, config = function () require('true-zen').setup({ modes = { ataraxis = { minimum_writing_area = { width = 100 } } }, integrations = { twilight = true, lualine = true } }) end }