Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install using Lazy.nvim? #127

Open
clockworkpc opened this issue Apr 9, 2024 · 1 comment
Open

How to install using Lazy.nvim? #127

clockworkpc opened this issue Apr 9, 2024 · 1 comment

Comments

@clockworkpc
Copy link

Using NVChad and nothing gets installed from this entry:

return {
  {
    "pocco81/true-zen.nvim",
    cmd = { "TZAtaraxis", },
    config = require("configs.true-zen")
  },
}
@madelaney
Copy link

madelaney commented Apr 12, 2024

I tend to do things long form, so there may be an abbreviated way to do this but here is how I have the plugin configured:

 {
    'pocco81/true-zen.nvim',
    opts = {
      integrations = {
        tmux = true,
      },
    },
    config = function(_plugin, opts)
      require('true-zen').setup(opts)
    end,
    keys = {
      {
        '<leader>zn',
        '<cmd>TZNarrow<cr>',
        mode = 'n',
        desc = 'Narrow focused',
        noremap = true,
      },
      {
        '<leader>zn',
        "<cmd>'<,'>TZNarrow<cr>",
        mode = 'v',
        desc = 'Ranged narrow focused',
        noremap = true,
      },
      {
        '<leader>zf',
        '<cmd>TZFocus<cr>',
        mode = 'n',
        desc = 'Focued mode',
        noremap = true,
      },
      {
        '<leader>zm',
        '<cmd>TZMinimalist<cr>',
        mode = 'n',
        desc = 'Minimalist mode',
        noremap = true,
      },
      {
        '<leader>za',
        '<cmd>TZAtaraxis<cr>',
        mode = 'n',
        desc = 'Ataraxis mode',
        noremap = true,
      },
    },
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants