Nvim: add treesitter text objects
This commit is contained in:
parent
825b49ad06
commit
5a6cdb43d6
2 changed files with 118 additions and 46 deletions
|
@ -9,8 +9,8 @@ return {
|
|||
config = function()
|
||||
local gitsigns = require("gitsigns")
|
||||
require("which-key").register({
|
||||
["["] = { c = { gitsigns.prev_hunk, "Previous hunk" } },
|
||||
["]"] = { c = { gitsigns.next_hunk, "Next hunk" } },
|
||||
["["] = { h = { gitsigns.prev_hunk, "Previous hunk" } },
|
||||
["]"] = { h = { gitsigns.next_hunk, "Next hunk" } },
|
||||
})
|
||||
|
||||
local builtin = require("statuscol.builtin")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue