From ccbb7f56384921a81813f0f9ebc85cdba0b7c255 Mon Sep 17 00:00:00 2001 From: anott03 Date: Mon, 25 Jan 2021 13:20:01 -0500 Subject: fix: move to actions.select as default action (#465) --- lua/telescope/builtin/git.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/telescope/builtin/git.lua') diff --git a/lua/telescope/builtin/git.lua b/lua/telescope/builtin/git.lua index a33e76b..2374a5d 100644 --- a/lua/telescope/builtin/git.lua +++ b/lua/telescope/builtin/git.lua @@ -47,7 +47,7 @@ git.commits = function(opts) previewer = previewers.git_commit_diff.new(opts), sorter = conf.file_sorter(opts), attach_mappings = function() - actions.goto_file_selection_edit:replace(actions.git_checkout) + actions.select:replace(actions.git_checkout) return true end }):find() @@ -67,7 +67,7 @@ git.bcommits = function(opts) previewer = previewers.git_commit_diff.new(opts), sorter = conf.file_sorter(opts), attach_mappings = function() - actions.goto_file_selection_edit:replace(actions.git_checkout) + actions.select:replace(actions.git_checkout) return true end }):find() @@ -107,7 +107,7 @@ git.branches = function(opts) previewer = previewers.git_branch_log.new(opts), sorter = conf.file_sorter(opts), attach_mappings = function() - actions.goto_file_selection_edit:replace(actions.git_checkout) + actions.select:replace(actions.git_checkout) return true end }):find() -- cgit v1.2.3