fix: move to actions.select as default action (#465)

This commit is contained in:
anott03
2021-01-25 13:20:01 -05:00
committed by GitHub
parent 5bf9e14f10
commit ccbb7f5638
8 changed files with 61 additions and 54 deletions

View File

@@ -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()