slides.nvim/README.md
2021-09-29 19:57:30 -03:00

843 B

slides.nvim

Slides presentation in your Neovim.

image

Prerequisites

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