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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,26 @@ require('lazy').setup({
},
},

{ -- shows a floating buffer with the most useful vim keymaps
'Hashino/tutorial.nvim',
opts = {
enabled = true, -- whether to show Tutorial on startup

-- window configs of the floating Tutorial buffer
-- see :h nvim_open_win() for available options
float_win_config = {
relative = 'editor',

anchor = 'SW',

style = 'minimal',
border = 'rounded', -- see :h winborder for available options

noautocmd = true,
},
},
},

-- NOTE: Plugins can also be configured to run Lua code when they are loaded.
--
-- This is often very useful to both group configuration, as well as handle
Expand Down