Compare commits

..

3 commits

3 changed files with 28 additions and 19 deletions

View file

@ -1,23 +1,24 @@
return { return {
"sphamba/smear-cursor.nvim", "sphamba/smear-cursor.nvim",
enabled = false,
opts = { opts = {
-- Smear cursor when switching buffers or windows. -- Smear cursor when switching buffers or windows.
smear_between_buffers = true, smear_between_buffers = true,
-- Smear cursor when moving within line or to neighbor lines. -- Smear cursor when moving within line or to neighbor lines.
-- Use `min_horizontal_distance_smear` and `min_vertical_distance_smear` for finer control -- Use `min_horizontal_distance_smear` and `min_vertical_distance_smear` for finer control
smear_between_neighbor_lines = true, smear_between_neighbor_lines = true,
-- Draw the smear in buffer space instead of screen space when scrolling -- Draw the smear in buffer space instead of screen space when scrolling
scroll_buffer_space = true, scroll_buffer_space = true,
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols). -- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
-- Smears will blend better on all backgrounds. -- Smears will blend better on all backgrounds.
legacy_computing_symbols_support = false, legacy_computing_symbols_support = false,
-- Smear cursor in insert mode. -- Smear cursor in insert mode.
-- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`. -- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`.
smear_insert_mode = true, smear_insert_mode = true,
}, },
} }

View file

@ -22,13 +22,18 @@ return {
}, },
ui = { ui = {
position = "topright", position = "topright",
-- position = "cursor",
open_win_override = {
-- title = "i can haz file?",
border = "rounded",
},
preselect_current = true,
}, },
navigate = { navigate = {
cancel_snipe = "q", cancel_snipe = "q",
-- Close the buffer under the cursor
-- PR not merged yet: https://github.com/leath-dub/snipe.nvim/pull/13
-- NOTE: Make sure you don't use the character below on your dictionary
close_buffer = "d", close_buffer = "d",
open_vsplit = "V",
open_split = "X",
}, },
}) })
end, end,

View file

@ -48,6 +48,9 @@ return {
"editorconfig", "editorconfig",
"http", "http",
"make", "make",
"toml",
"latex",
"sql",
}, },
incremental_selection = { incremental_selection = {
enable = true, enable = true,