Skip to content

Commit

Permalink
Disable unused treesitter move hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
Jendker committed Dec 1, 2024
1 parent d0b5eba commit 9801875
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stow/common/dot-config/nvim/lua/config_plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,25 @@ require('nvim-treesitter.configs').setup({
set_jumps = true, -- whether to set jumps in the jumplist
goto_next_start = {
["]m"] = "@function.outer",
["]]"] = { query = "@class.outer", desc = "Next class start" },
-- ["]]"] = { query = "@class.outer", desc = "Next class start" },
["]o"] = { query = { "@loop.outer" } },
["]i"] = "@conditional.outer",
},
goto_next_end = {
["]M"] = "@function.outer",
["]["] = "@class.outer",
-- ["]["] = "@class.outer",
["]O"] = { query = { "@loop.outer" } },
["]I"] = "@conditional.outer",
},
goto_previous_start = {
["[m"] = "@function.outer",
["[["] = "@class.outer",
-- ["[["] = "@class.outer",
["[o"] = { query = { "@loop.outer" } },
["[i"] = "@conditional.outer",
},
goto_previous_end = {
["[M"] = "@function.outer",
["[]"] = "@class.outer",
-- ["[]"] = "@class.outer",
["[O"] = { query = { "@loop.outer" } },
["[I"] = "@conditional.outer",
},
Expand Down

0 comments on commit 9801875

Please sign in to comment.