From 1a5d5bc4a088192a5792929a561d22982fdf252c Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 17 Mar 2025 09:44:09 +0100 Subject: [PATCH 1/3] feat: disable smear cursor --- lua/weeheavy/plugins/smear-cursor.lua | 33 ++++++++++++++------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/lua/weeheavy/plugins/smear-cursor.lua b/lua/weeheavy/plugins/smear-cursor.lua index 048ef41..ca1549e 100644 --- a/lua/weeheavy/plugins/smear-cursor.lua +++ b/lua/weeheavy/plugins/smear-cursor.lua @@ -1,23 +1,24 @@ return { - "sphamba/smear-cursor.nvim", + "sphamba/smear-cursor.nvim", + enabled = false, - opts = { - -- Smear cursor when switching buffers or windows. - smear_between_buffers = true, + 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, + -- 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, + -- 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 will blend better on all backgrounds. - legacy_computing_symbols_support = false, + -- Set to `true` if your font supports legacy computing symbols (block unicode symbols). + -- Smears will blend better on all backgrounds. + 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, - }, + -- Smear cursor in insert mode. + -- See also `vertical_bar_cursor_insert_mode` and `distance_stop_animating_vertical_bar`. + smear_insert_mode = true, + }, } From 267bc441eefd0cb1c979d876013e2a2c56c67b2f Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 17 Mar 2025 09:45:13 +0100 Subject: [PATCH 2/3] feat(snipe): add keyboard shortcuts for h/v splits --- lua/weeheavy/plugins/snipe.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lua/weeheavy/plugins/snipe.lua b/lua/weeheavy/plugins/snipe.lua index bb83c61..f1a7515 100644 --- a/lua/weeheavy/plugins/snipe.lua +++ b/lua/weeheavy/plugins/snipe.lua @@ -22,13 +22,18 @@ return { }, ui = { position = "topright", + -- position = "cursor", + open_win_override = { + -- title = "i can haz file?", + border = "rounded", + }, + preselect_current = true, }, navigate = { 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", + open_vsplit = "V", + open_split = "X", }, }) end, From e92bba8321c51f678bb7763759bb49fd4494bd16 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Mon, 17 Mar 2025 09:45:46 +0100 Subject: [PATCH 3/3] feat(treesitter): add more languages to defaults --- lua/weeheavy/plugins/treesitter.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/weeheavy/plugins/treesitter.lua b/lua/weeheavy/plugins/treesitter.lua index b136623..8246fe4 100644 --- a/lua/weeheavy/plugins/treesitter.lua +++ b/lua/weeheavy/plugins/treesitter.lua @@ -48,6 +48,9 @@ return { "editorconfig", "http", "make", + "toml", + "latex", + "sql", }, incremental_selection = { enable = true,