# HG changeset patch # User zegervdv # Date 1638711031 -3600 # Node ID c6624d04906acb299a6a86c3cb0c25f74cf33f05 # Parent 568791ef3a1609e86ee1a1f33830e061d3b0ba25 Add treesitter based textobjects diff -r 568791ef3a16 -r c6624d04906a .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Sun Dec 05 11:58:24 2021 +0100 +++ b/.chezmoitemplates/init.lua Sun Dec 05 14:30:31 2021 +0100 @@ -347,6 +347,14 @@ goto_next_end = { [']['] = '@block.outer' }, goto_previous_end = { ['[]'] = '@block.outer' }, }, + select = { + enable = true, + lookahead = true, + keymaps = { + ['af'] = '@function.outer', + ['if'] = '@function.inner', + }, + }, }, playground = { enable = true, disable = {}, updatetime = 25, persist_queries = false }, }