Compare commits

..

11 commits

Author SHA1 Message Date
Bruno BELANYI be0cc6b971 home: vime: tree-sitter: remove 'which-key'
All checks were successful
ci/woodpecker/push/check Pipeline was successful
The plug-in now has support for setting mapping descriptions by itself.
2024-07-19 11:36:27 +00:00
Bruno BELANYI 1fc64b57fd home: vim: tree-sitter: move mappings from 'after' 2024-07-19 11:36:27 +00:00
Bruno BELANYI 99a008d542 home: vim: telescope: move mappings from 'after' 2024-07-19 11:36:26 +00:00
Bruno BELANYI 9a6843a305 home: vim: signtoggle: use lua callbacks
Use `vim.opt` because this is a local option (i.e: similar to `set` it
defaults to setting it locally, `vim.opt_local` is not necessary).
2024-07-19 11:36:26 +00:00
Bruno BELANYI eb80441f49 home: vim: numbertoggle: use lua callbacks
Use `vim.opt` because those are local options (i.e: similar to `set` it
defaults to setting it locally, `vim.opt_local` is not necessary).
2024-07-19 11:36:26 +00:00
Bruno BELANYI d101ae56f2 home: vim: signtoggle: fix toggling
Don't know how I missed this for so long...
2024-07-19 11:36:26 +00:00
Bruno BELANYI 8792244419 home: vim: git: work around partial staging issue
See [1].

[1]: https://github.com/lewis6991/gitsigns.nvim/issues/929
2024-07-19 11:36:26 +00:00
Bruno BELANYI 33084169f2 home: vim: git: use 'partial' 2024-07-19 11:36:26 +00:00
Bruno BELANYI bcd9a31bb8 home: vim: lua: utils: add 'partial'
Love me some functional goodness.

This was taken from [1].

[1]: https://reddit.com/r/lua/comments/fh2go5
2024-07-19 11:36:26 +00:00
Bruno BELANYI 966934a8bc home: vim: git: use lua in hunk mappings 2024-07-19 11:36:26 +00:00
Bruno BELANYI 88e4d72366 home: vim: git: use lua in visual mappings
I thought the partial staging feature had broken, but it looks to be
unrelated [1].

[1]: https://github.com/lewis6991/gitsigns.nvim/issues/1088
2024-07-19 11:36:26 +00:00

View file

@ -67,7 +67,6 @@ local objects = {
local visual = {
["ih"] = { gitsigns.select_hunk, "Git hunk" },
-- Only the actual command can make use of the visual selection...
["<leader>g"] = {
name = "Git",
p = { gitsigns.preview_hunk, "Preview selection" },