Skip to content

feat(plugin): tutorial.nvim #1488

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

feat(plugin): tutorial.nvim #1488

wants to merge 2 commits into from

Conversation

Hashino
Copy link

@Hashino Hashino commented Apr 22, 2025

simple plugin to show a neovim tutorial on screen at all times

closes #1487

simple plugin to show a neovim tutorial on screen at all times
init.lua Outdated
{ -- shows a floating buffer with the most useful vim keymaps
'Hashino/tutorial.nvim',
opts = {},
},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks pretty extreme to be active by default to existing users, maybe comment it out?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my rationale is that the kind of user that needs this plugin the most don't even know how to enable/disable a plugin yet.

I envision this plugin as being the first one users will remove from their configs. my goal is strictly to avoid the "can't quit vim" meme scenario

@guru245
Copy link

guru245 commented May 8, 2025

I have a question. Doesn't this floating buffer conflict with which-key window?

Update: I got my hands on the plugin and I can see the conflict. The following is one of the example that happens with Telescope.
image

@Hashino
Copy link
Author

Hashino commented May 8, 2025

@guru245 made an update to the plugin that fixes incompatibilities with Telescope.

on the which-key case, the plugin still displays but which-key shows on top, which I think is a reasonable behavior
image

@Hashino Hashino marked this pull request as draft May 8, 2025 14:22
@Hashino Hashino requested a review from 5brian May 8, 2025 14:22
@Hashino
Copy link
Author

Hashino commented May 8, 2025

There's a bug that I can't quite fix yet. After last update (ignore certain buffers) the plugin buffer disappears if the buffer is focused.

Will work on fixing it

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

Successfully merging this pull request may close these issues.

plugin request: tutorial.nvim
3 participants