-
Notifications
You must be signed in to change notification settings - Fork 30
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
Comments
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,
},
},
} |
If this works, you should close the issue. |
@madelaney 's solution works for Lazy. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using NVChad and nothing gets installed from this entry:
The text was updated successfully, but these errors were encountered: