Skip to content

Commit 88cd00c

Browse files
github-actions[bot]sphamba
authored andcommitted
docs: auto-generate vimdoc
1 parent 62aef55 commit 88cd00c

1 file changed

Lines changed: 21 additions & 10 deletions

File tree

doc/smear-cursor.txt

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,16 +149,27 @@ more elastic (overshooting target position).
149149
some combinations may cause your cursor to flicker or even **catch fire**. That
150150
can happen with the following settings:
151151
>lua
152-
opts = {
153-
cursor_color = "#ff8800",
154-
stiffness = 0.3,
155-
trailing_stiffness = 0.1,
156-
damping = 0.5,
157-
trailing_exponent = 5,
158-
never_draw_over_target = true,
159-
hide_target_hack = true,
160-
gamma = 1,
161-
}
152+
opts = {
153+
cursor_color = "#ff4000",
154+
particles_enabled = true,
155+
stiffness = 0.5,
156+
trailing_stiffness = 0.2,
157+
trailing_exponent = 5,
158+
damping = 0.6,
159+
gradient_exponent = 0,
160+
gamma = 1,
161+
never_draw_over_target = true, -- if you want to actually see under the cursor
162+
hide_target_hack = true, -- same
163+
particle_spread = 1,
164+
particles_per_second = 500,
165+
particles_per_length = 50,
166+
particle_max_lifetime = 800,
167+
particle_max_initial_velocity = 20,
168+
particle_velocity_from_cursor = 0.5,
169+
particle_damping = 0.15,
170+
particle_gravity = -50,
171+
min_distance_emit_particles = 0,
172+
}
162173
<
163174
Smooth cursor without smear ~
164175

0 commit comments

Comments
 (0)