move project keymap to its config file

This commit is contained in:
2022-12-11 13:05:34 +01:00
parent 58ae25ee12
commit 51183ffd55
2 changed files with 11 additions and 5 deletions

View File

@@ -4,3 +4,14 @@ require('project_nvim').setup({
patterns = { ".git", "_darcs", ".hg", ".bzr", ".svn", "Makefile", "package.json", "build_nvim", "real_path.txt" },
})
require('telescope').load_extension('projects')
require('legendary').keymaps(
{
{
'<space>p',
function ()
require('telescope').extensions.projects.projects()
end,
description = 'Select project',
},
}
)