Skip to content

How to remove [Scratch] from narrow mode #123

@CarlosLoboxyz

Description

@CarlosLoboxyz

Screenshot_20231102_155330

How do i remove those white lines from the top and the bottom? Read the documentation but there's no clear answer

My config file

require('true-zen').setup {
    modes = {
        ataraxis = {
            shade = "dark",
            backdrop = 0,
            padding = {
                top = 0,
                bottom = 0,
            },
        },
        minimalist = {},
        narrow = {
            folds_style = "invisible",
            run_ataraxis = true, -- display narrowed text in a Ataraxis session
            callbacks = { -- run functions when opening/closing Narrow mode
                open_pre = nil,
                open_pos = nil,
                close_pre = nil,
                close_pos = nil
            },
        },
        focus = {}
    },
    integrations = {
        tmux = true,
    }
}

local api = vim.api

api.nvim_set_keymap("n", "<leader>zn", ":TZNarrow<CR>", {})
api.nvim_set_keymap("v", "<leader>zn", ":'<,'>TZNarrow<CR>", {})
api.nvim_set_keymap("n", "<leader>zf", ":TZFocus<CR>", {})
api.nvim_set_keymap("n", "<leader>zm", ":TZMinimalist<CR>", {})
api.nvim_set_keymap("n", "<leader>za", ":TZAtaraxis<CR>", {})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions