An open API service indexing awesome lists of open source software.

https://github.com/aonemd/dazzle.vim

Make dazzling presentations without leaving your best editor, Vim
https://github.com/aonemd/dazzle.vim

vim vim-plugin viml

Last synced: about 1 year ago
JSON representation

Make dazzling presentations without leaving your best editor, Vim

Awesome Lists containing this project

README

          



dazzle.vim


Make dazzling presentations without leaving your best editor, Vim.

![screenshot](https://user-images.githubusercontent.com/16504838/110614591-2aa06200-819b-11eb-8fe1-772730a9fb81.png)

### Installation

0. Install [figlet](http://www.figlet.org/),
[toilet](http://caca.zoy.org/wiki/toilet),
[cowsay](https://web.archive.org/web/20071026043648/http://www.nog.net/~tony/warez/cowsay.shtml),
and [goyo.vim](https://github.com/junegunn/goyo.vim) for better integration
1. Install `aonemd/dazzle.vim` using a plugin manger such as:
[vim-plug](https://github.com/junegunn/vim-plug),
[NeoBundle](https://github.com/Shougo/neobundle.vim),
[Vundle](https://github.com/gmarik/Vundle.vim), or
[Pathogen](https://github.com/tpope/vim-pathogen).
2. Call `Dazzle` command for your presentation files only:
```viml
" use dazzle for .pres files
autocmd BufNewFile,BufRead *.pres :Dazzle
```
3. Open your presentations: `vim *.pres`
4. Zoom-in on your terminal and dazzle everyone!

### Features and Maps

- Scroll between slides using `Left` and `Right` arrow keys
- Text between two backticks `` ` `` is treated as special text and thus, is colored 🍎
- Text between two asterisks `*` is treated as important text and thus, is **bold**
- `[ ]` and `[x]` are converted to ASCII characters
- Lines starting with `*` or `-` are converted to ASCII bullet points
- `Q` executes the current line as a shell command and prints the output into Vim
- `t` converts current line into ASCII title using `figlet`
- `b` converts current line into ASCII banner using `toilet`
- `c` converts current line into ASCII cow quote using `cowsay`

### Credits

I made this plugin after watching those two YouTube videos:
- [Creating technical presentations with VIM](https://www.youtube.com/watch?v=GDa7hrbcCB8)
- [Giving a Text Based Slide Presentation in Vim without Plugins](https://www.youtube.com/watch?v=7fIR55kkTwc)

So all thanks to their creators for their content.

### License

See [LICENSE](https://github.com/aonemd/dazzle.vim/blob/master/LICENSE).