From c5f0d05835f70f4bce15168d949563ef4c842e4d Mon Sep 17 00:00:00 2001 From: Ben Smith <37027883+smithbm2316@users.noreply.github.com> Date: Wed, 14 Apr 2021 09:31:05 +0000 Subject: git(action): create and checkout branch (#755) * added git action for creating and checking out a new branch, added basic docstrings for git actions * Added confirmation for creation of new branch, changed default mapping to * Switched back to `` default mapping for now --- lua/telescope/builtin/git.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/telescope/builtin/git.lua') diff --git a/lua/telescope/builtin/git.lua b/lua/telescope/builtin/git.lua index b2270ad..f7c0096 100644 --- a/lua/telescope/builtin/git.lua +++ b/lua/telescope/builtin/git.lua @@ -177,11 +177,12 @@ git.branches = function(opts) map('i', '', actions.git_rebase_branch) map('n', '', actions.git_rebase_branch) + map('i', '', actions.git_create_branch) + map('n', '', actions.git_create_branch) + map('i', '', actions.git_delete_branch) map('n', '', actions.git_delete_branch) - map('i', '', false) - map('n', '', false) return true end }):find() -- cgit v1.2.3