diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-03-23 09:42:55 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-03-23 09:42:55 +0100 |
| commit | 146897363cbeb8b81db6b746cb006efd34cefbd7 (patch) | |
| tree | e27c54b376d9bcaee5510c996b7bc29fe3d5e787 /lua/alpha/telescope/init.lua | |
| parent | d1b5872f8e1958b46ede7faf02f6abecc423eac9 (diff) | |
| download | nvim-conf-146897363cbeb8b81db6b746cb006efd34cefbd7.tar.gz nvim-conf-146897363cbeb8b81db6b746cb006efd34cefbd7.zip | |
add worktree add mapping
Diffstat (limited to 'lua/alpha/telescope/init.lua')
| -rw-r--r-- | lua/alpha/telescope/init.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lua/alpha/telescope/init.lua b/lua/alpha/telescope/init.lua index 3752560..d0c5811 100644 --- a/lua/alpha/telescope/init.lua +++ b/lua/alpha/telescope/init.lua @@ -67,9 +67,6 @@ function M.projectionist () return require("telescope").extensions.projectionist.projectionist() end -function M.git_worktree () - return require("telescope").extensions.git_worktree.git_worktrees() -end function M.laravel () vim.env.NO_TTY = 1 @@ -80,6 +77,10 @@ function M.worktree () return require('telescope').extensions.git_worktree.git_worktrees() end +function M.worktree_create () + return require('telescope').extensions.git_worktree.create_git_worktree() +end + function M.file_browser () local opts |