Skip to content

Commit

Permalink
Merge pull request #280 from benjiwolff/add-session-lens-delete-short…
Browse files Browse the repository at this point in the history
…cut-to-readme

Add session lens delete shortcut to readme
  • Loading branch information
rmagatti authored Mar 31, 2024
2 parents 22b7ca4 + f3a1ed6 commit 68b5a30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ vim.keymap.set("n", "<C-s>", require("auto-session.session-lens").search_session
})
```

*Note:* hitting `<C-s>` on an open session-lens picker will automatically try to restore the previous session opened. This can give you a nice flow if you're constantly switching between two projects.
The following shortcuts are available when the session-lens picker is open
* `<c-s>` restores the previously opened session. This can give you a nice flow if you're constantly switching between two projects.
* `<c-d>` will delete the currently highlighted session. This makes it easy to keep the session list clean.

Sometime after `telescope.nvim` has been started, you'll want to call `lua require("telescope").load_extension "session-lens"` so that command completion works for `:Telescope session-lens` commands.

Expand Down

0 comments on commit 68b5a30

Please sign in to comment.