Compare commits

..

11 commits

Author SHA1 Message Date
Bruno BELANYI 8e8126e282 home: vime: tree-sitter: remove 'which-key'
The plug-in now has support for setting mapping descriptions by itself.
2024-07-19 11:32:10 +00:00
Bruno BELANYI 5519bbc49b home: vim: tree-sitter: move mappings from 'after' 2024-07-19 11:13:11 +00:00
Bruno BELANYI b107ee04f0 home: vim: telescope: move mappings from 'after' 2024-07-19 11:12:19 +00:00
Bruno BELANYI b1e484474f 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-18 20:24:28 +01:00
Bruno BELANYI 5ddd6b4425 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-18 20:21:13 +01:00
Bruno BELANYI 5ddb72e6c0 home: vim: signtoggle: fix toggling
Don't know how I missed this for so long...
2024-07-15 20:34:09 +01:00
Bruno BELANYI bb8f25e130 home: vim: git: work around partial staging issue
See [1].

[1]: https://github.com/lewis6991/gitsigns.nvim/issues/929
2024-07-12 20:59:58 +01:00
Bruno BELANYI a4da9cc614 home: vim: git: use 'partial' 2024-07-12 20:40:55 +01:00
Bruno BELANYI 65d036f473 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-12 20:34:51 +01:00
Bruno BELANYI a25b541650 home: vim: git: use lua in hunk mappings 2024-07-12 20:12:57 +01:00
Bruno BELANYI 11201a685d 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-12 20:12:57 +01:00

View file

@ -67,6 +67,7 @@ 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" },