Skip to content

Commit ff12b49

Browse files
committed
Document the new cursor settings
1 parent 41b5f8d commit ff12b49

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

website/docs/configuration.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -832,17 +832,17 @@ this happens too often accidentally to you, set this to a higher value like `0.3
832832
VimScript:
833833

834834
```vim
835-
let g:neovide_cursor_animation_length = 0.13
835+
let g:neovide_cursor_animation_length = 0.150
836836
```
837837

838838
Lua:
839839

840840
```lua
841-
vim.g.neovide_cursor_animation_length = 0.13
841+
vim.g.neovide_cursor_animation_length = 0.150
842842
```
843843

844844
Setting `g:neovide_cursor_animation_length` determines the time it takes for the cursor to complete
845-
it's animation in seconds. Set to `0` to disable.
845+
its animation in seconds. Set to `0` to disable.
846846

847847
#### Animation Trail Size
848848

@@ -855,17 +855,20 @@ it's animation in seconds. Set to `0` to disable.
855855
VimScript:
856856

857857
```vim
858-
let g:neovide_cursor_trail_size = 0.8
858+
let g:neovide_cursor_trail_size = 1.0
859859
```
860860

861861
Lua:
862862

863863
```lua
864-
vim.g.neovide_cursor_trail_size = 0.8
864+
vim.g.neovide_cursor_trail_size = 1.0
865865
```
866866

867-
Setting `g:neovide_cursor_trail_size` determines how much the trail of the cursor lags behind the
868-
front edge.
867+
Range 0.0 to 1.0
868+
869+
Setting `g:neovide_cursor_trail_size` changes how much the back of the cursor trails the front. Set
870+
to 1.0 to make the front jump to the destination immediately with a maximum trail size. A lower
871+
value makes a smoother animation, with a shorter trail, but also adds lag.
869872

870873
#### Antialiasing
871874

0 commit comments

Comments
 (0)