diff --git a/lua/telescope/builtin/__files.lua b/lua/telescope/builtin/__files.lua index 2a3f2ce16c..d31b9a6f4e 100644 --- a/lua/telescope/builtin/__files.lua +++ b/lua/telescope/builtin/__files.lua @@ -180,6 +180,7 @@ files.live_grep = function(opts) map("i", "", actions.to_fuzzy_refine) return true end, + push_cursor_on_edit = true, }) :find() end @@ -257,6 +258,7 @@ files.grep_string = function(opts) finder = finders.new_oneshot_job(args, opts), previewer = conf.grep_previewer(opts), sorter = conf.generic_sorter(opts), + push_cursor_on_edit = true, }) :find() end @@ -460,6 +462,7 @@ files.treesitter = function(opts) tag = "kind", sorter = conf.generic_sorter(opts), }, + push_cursor_on_edit = true, }) :find() end