diff options
| author | anott03 <amitav_nott@ryecountryday.org> | 2021-01-25 13:20:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-25 19:20:01 +0100 |
| commit | ccbb7f56384921a81813f0f9ebc85cdba0b7c255 (patch) | |
| tree | 107739be676bda2e004e191e6a7c114aa172e399 /lua/telescope/builtin/git.lua | |
| parent | 5bf9e14f10023d5ab8182b33a80fca68cd174f79 (diff) | |
fix: move to actions.select as default action (#465)
Diffstat (limited to 'lua/telescope/builtin/git.lua')
| -rw-r--r-- | lua/telescope/builtin/git.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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() |
