Skip to content

First time using cord.nvim #159

Answered by vyfor
knevan asked this question in Q&A
Jan 10, 2025 · 1 comments · 9 replies
Discussion options

You must be logged in to vote

Hey!

Do I just need to copy-paste the default config and change the content of the text?

You only need to change the values you want. Your configuration will be merged with the default config, meaning any fields you don't specify will use their default values. Your setup might look like this:

opts = {
    editor = {
        tooltip = "Nice Editor",
    },
    display = {
        theme = "pastel",
    },
    idle = {
        timeout = 600000,
        details = "Away From You",
    },
    text = {
        editing = function(opts) return "Editing " .. opts.filename end, -- or use a string value like 'Editing a file' if you don't want it to be dynamic
        -- etc ...
    },
}

do I do :C…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@vyfor
Comment options

@knevan
Comment options

@vyfor
Comment options

@knevan
Comment options

@knevan
Comment options

Answer selected by knevan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants