mirror of
https://github.com/NotAShelf/slides.nvim.git
synced 2024-11-01 19:11:17 +00:00
Slides presentation in your Neovim
9381998e9b
add screenshot an fix typo |
||
---|---|---|
lua | ||
.editorconfig | ||
LICENSE | ||
README.md |
slides.nvim
Slides presentation in your Neovim.
Prerequisites
Neovim >= 0.5.0
Slides
Installation
packer.nvim
use {
'aspeddro/slides.nvim',
config = function ()
require'slides'.setup{}
end
}
Configuration
require'slides'.setup{
bin = 'slides' -- default config, path to binary
}
Usage
Open current file
:Slides
:Slides [path/to/file.md]
Create a mapping:
-- 'n' = normal mode
vim.api.nvim_set_keymap('n', "<leader>s", ":Slides<CR>", {silent = true, noremap = true})
use q
or ctrl + c
to close slide