diff options
| author | bh <qn+git@excalibur.computer> | 2025-12-02 20:29:29 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2025-12-02 20:29:29 +0800 |
| commit | 5cca3a9733f17231a54bb15ca1ad682dab2927a5 (patch) | |
| tree | a2a35b9fd5cfd3ed56533d802fdb4cfcacb75bd0 /lua | |
| parent | 95065165f37331ac62f9270c1dd7d1ac26f9c3f9 (diff) | |
Backup before cleaning up the config
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/init.lua | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index c0ce35c..b31c559 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -119,6 +119,50 @@ return { -- Dashboard { "nvimdev/dashboard-nvim", event = "VimEnter", dependencies = { "nvim-tree/nvim-web-devicons" }, config = require("config.dashboard") }, + + + + + -- Cursor + "sphamba/smear-cursor.nvim", + opts = { + -- Smear cursor when switching buffers or windows. + smear_between_buffers = true, + + -- Smear cursor when moving within line or to neighbor lines. + -- Use `min_horizontal_distance_smear` and `min_vertical_distance_smear` for finer control + smear_between_neighbor_lines = true, + + -- Draw the smear in buffer space instead of screen space when scrolling + scroll_buffer_space = true, + + -- Set to `true` if your font supports legacy computing symbols (block unicode symbols). + -- Smears and particles will look a lot less blocky. + legacy_computing_symbols_support = false, + + -- Smear cursor in insert mode. + -- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`. + smear_insert_mode = true, + cursor_color = "#ff4000", + particles_enabled = true, + stiffness = 0.5, + trailing_stiffness = 0.2, + trailing_exponent = 5, + damping = 0.6, + gradient_exponent = 0, + gamma = 1, + never_draw_over_target = true, -- if you want to actually see under the cursor + hide_target_hack = true, -- same + particle_spread = 1, + particles_per_second = 500, + particles_per_length = 50, + particle_max_lifetime = 800, + particle_max_initial_velocity = 20, + particle_velocity_from_cursor = 0.5, + particle_damping = 0.15, + particle_gravity = -50, + min_distance_emit_particles = 0, + }, -- Themes "martinsione/darkplus.nvim", |
