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.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.treesitter-textobjects.move.disable

List of languages to disable this module for.

Type: null or (list of string)

Default: null

Plugin default: []

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.

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

Default: null

Plugin default: {}

Declared by:

plugins.treesitter-textobjects.move.gotoNextEnd

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

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

Default: null

Plugin default: {}

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.

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

Default: null

Plugin default: {}

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.

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

Default: null

Plugin default: {}

Declared by:

plugins.treesitter-textobjects.move.gotoPreviousEnd

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

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

Default: null

Plugin default: {}

Declared by:

plugins.treesitter-textobjects.move.gotoPreviousStart

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

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

Default: null

Plugin default: {}

Declared by:

plugins.treesitter-textobjects.move.setJumps

Whether to set jumps in the jumplist.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: