plugins.treesitter-textobjects.move.enable

Go to next/previous text object~

Define your own mappings to jump to the next or previous text object. This is similar to |]m|, |[m|, |]M|, |[M| Neovim’s mappings to jump to the next or previous function.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.treesitter-textobjects.move.disable

List of languages to disable this module for.

Plugin default: []

Type: null or (list of string)

Default: null

Declared by:

plugins.treesitter-textobjects.move.gotoNext

Will go to either the start or the end, whichever is closer. Use if you want more granular movements. Make it even more gradual by adding multiple queries and regex.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.move.gotoNextEnd

Same as gotoNextStart, but it jumps to the start of the text object.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.move.gotoNextStart

Map of keymaps to a list of tree-sitter capture groups ({@function.outer, @class.outer}). The one that starts closest to the cursor will be chosen, preferring row-proximity to column-proximity.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.move.gotoPrevious

Will go to either the start or the end, whichever is closer. Use if you want more granular movements. Make it even more gradual by adding multiple queries and regex.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.move.gotoPreviousEnd

Same as gotoNextEnd, but it jumps to the previous text object.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.move.gotoPreviousStart

Same as gotoNextStart, but it jumps to the previous text object.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.move.setJumps

Whether to set jumps in the jumplist.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: