Update README.md

This commit is contained in:
edluffy 2021-03-14 19:34:19 +00:00 committed by GitHub
parent de54b04bae
commit d947d5a5df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1 +1,28 @@
# specs.nvim
# specs.nvim 👓
Specs.nvim - show where your cursor moves when jumping large distances (e.g between windows). Fast and lightweight, written completely in Lua.
## Install
Using [packer.nvim](https://github.com/wbthomason/packer.nvim):
```lua
use {'edluffy/specs.nvim'}
```
Using [vim-plug](https://github.com/junegunn/vim-plug):
```vimscript
Plug 'edluffy/specs.nvim'
```
## Usage
If you are using init.vim instead of init.lua, remember to wrap block below with `lua << EOF` and `EOF`
```
require('specs').setup{
show_jumps = true,
min_jump = 30,
popup = {
delay_ms = 0,
inc_ms = 10,
blend = 10,
width = 10,
fader = require('specs').linear_fader,
resizer = require('specs').shrink_resizer
}
}
```