specs.nvim/README.md

30 lines
869 B
Markdown
Raw Normal View History

2021-03-14 19:34:19 +00:00
# specs.nvim 👓
2021-03-15 03:09:08 +00:00
Show where your cursor moves when jumping large distances (e.g between windows). Fast and lightweight, written completely in Lua. WIP.
2021-03-14 19:34:19 +00:00
2021-03-15 03:09:08 +00:00
![demo](https://user-images.githubusercontent.com/28115337/111098526-90923e00-853b-11eb-8e7c-c5892d64c180.gif)
2021-03-14 19:34:19 +00:00
## 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
}
}
```