Skip to content

Commit

Permalink
added docs for integration with telescope directly
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer1612 committed Oct 31, 2023
1 parent 2355aa3 commit 5e56e24
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,31 @@ git clone git://github.com/dhruvasagar/vim-prosession.git

4. With [Lazy](https://github.com/folke/lazy.nvim)

Standalone

```lua
return {
{
"dhruvasagar/vim-prosession",
dependencies = {
"tpope/vim-obsession",
},
}
```

Or, directly use with telescope as an extension

```lua
{
"nvim-telescope/telescope.nvim",
dependencies = {
"tpope/vim-obsession",
"dhruvasagar/vim-prosession",
},
config = function()
local telescope = require("telescope")

telescope.load_extension("prosession")
vim.keymap.set("n", "<leader>fp", "<cmd>Telescope prosession<cr>", { desc = "Find projects" })
end
}
```

0 comments on commit 5e56e24

Please sign in to comment.