Commit Graph

53 Commits (main)

Author SHA1 Message Date
Bryan 1934279d0b cleanup 2024-11-10 23:57:51 -06:00
Bryan abeb001d5f allow switching session even if we are not currently in a session.\n add notifications when saving and loading 2024-11-08 15:12:11 -06:00
Bryan 144e9caf9d make switch function that both ui picker and telescope can use to switch sessions 2024-11-08 09:05:06 -06:00
Bryan b8e349c4b2 WIP 2024-11-08 03:00:53 -06:00
Bryan c499fcebb4 WIP 2024-11-08 01:27:29 -06:00
Bryan bc966308ee WIP 2024-11-08 00:41:18 -06:00
Bryan 68a7d86c61 Progress 2024-11-08 00:22:28 -06:00
Bryan 0826179c90 Progress 2024-11-08 00:16:52 -06:00
Bryan 4526625f32 I think I finally figured it out. Stupid me. 2024-11-08 00:04:13 -06:00
Bryan a07ab9b474 WIP 2024-11-07 23:34:23 -06:00
Bryan 09fd5fba7d WIP 2024-11-07 23:30:25 -06:00
Bryan 7eb6a1cf45 WIP 2024-11-07 17:54:44 -06:00
Bryan d8a0537b71 WIP 2024-11-07 17:53:50 -06:00
Bryan b55a7581e4 WIP 2024-11-07 17:42:56 -06:00
Bryan 376df130f2 revert rename 2024-11-07 17:39:43 -06:00
Bryan 99c36cd0af rename persisted.lua to init.lua 2024-11-07 17:38:26 -06:00
Bryan ca6b7a4319 WIP 2024-11-07 17:17:53 -06:00
Bryan 4dea535dc6 WIP 2024-11-07 17:09:28 -06:00
Bryan 0fb63ea1ec WIP 2024-11-07 17:07:51 -06:00
Bryan 9d6a37551d WIP 2024-11-07 16:11:42 -06:00
Bryan 771eb5908f Work out bugs in telescope load session 2024-11-07 15:07:42 -06:00
Bryan 8bb6d15fe9 Rework. Selecting session from telescope saves current session and deletes current buffers before loading new session 2024-11-07 15:00:29 -06:00
Bryan 07fd86682f Use Session* events to fire post load/save events 2024-11-07 11:21:37 -06:00
Oli 22e17b07fb
refactor!: #145 restore simplicity to the plugin
Announcement in #145
2024-08-08 18:25:16 +01:00
Jurek Olden e50e0b65b0
fix: properly start a session from Telescope (#134)
Properly starts sessions loaded from another directory using Telescope.
Crucially, this version compares the working directory of the session, not
the working directory at the time of the session load, to the lists
of allowed and ignored directories.

Co-authored-by: Oli <olimorris@users.noreply.github.com>
2024-06-03 07:29:47 -07:00
Rémi Labeyrie 8fc97b6182
feat: add icons and colors to telescope picker (#119)
* feat: add icons and colors to telescope picker

* feat: add configuration options for telescope icons

* fix: remove highlight group for telescope normal selection
2024-04-22 21:36:41 +01:00
jyuan0 18fda8136f
feat: configurable telescope mappings (#113) 2024-03-06 14:16:41 +00:00
olimorris ff261c2d22 feat: add copy session to Telescope actions 2023-12-20 12:45:11 +00:00
olimorris a1cc308580 feat: telescope add/update branch name 2023-12-18 23:46:57 +00:00
olimorris 86ce6f14ae refactor!: telescope reset_prompt api 2023-12-18 23:21:04 +00:00
olimorris 71352aa7dc chore(formatting) 2023-11-06 12:16:35 +00:00
olimorris c384aa6706 chore: active session mark in telescope 2023-06-12 09:04:37 +01:00
Dhruv Manilawala 0cdbc8a3fe
feat: mark active session in telescope, use `vim.fn.confirm` 2023-06-12 08:36:05 +01:00
Dhruv Manilawala f5d84ea6e1
fix: update telescope extension structure (#72)
Telescope extension folder structure is described here:
https://github.com/nvim-telescope/telescope.nvim/wiki/Extensions#extension-folder-structure

When `telescope.load_extension(<name>)` is done, the name is loaded from
path `telescope._extensions.<name>`. With the current structure, one
could do `telescope.load_extension('finders')` and then it will be
available to load through `Telescope finders` which will error

> Error executing Lua callback: ...share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:193: attempt to call a nil value
> stack traceback:
>     ...share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:193: in function 'run_command'
>     ...share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:253: in function 'load_command'
>     ...ocal/share/nvim/lazy/telescope.nvim/plugin/telescope.lua:108: in function <...ocal/share/nvim/lazy/telescope.nvim/plugin/telescope.lua:107>
2023-06-11 21:51:26 +01:00
olimorris 0a6be5db0e refactor: remove deprecations 2023-03-09 09:41:22 +00:00
Rafael Bodill 7890dadd6e
feat: allow options to be set in `telescope` setup (#55)
* feat: Allow options to be set in Telescope setup
* docs: update readme.md for telescope config
2023-02-28 16:16:37 +00:00
olimorris a0196d5c51 fix: make session data available via callback 2023-02-23 10:11:29 +00:00
olimorris e594ede825 fix: schedule loading session from telescope 2023-02-23 10:04:11 +00:00
olimorris fc3df75cd5 refactor!: #51 replace callbacks with user events 2023-02-22 20:24:27 +00:00
ADoyle 53a39a0447
feat: add config option "telescope.reset_prompt_after_deletion"
User can decide whether to reset the prompt or not, after deleting a session
2022-11-03 14:14:36 +00:00
ADoyle 80c898a6c9
fix: #34 support width = { val, min, max } and show branch
- Use telescope builtin resolver to calculate width.
- The branch is missing. Fixed.
- If session file stores without git branch, `session.branch` should be nil. And do not show branch in list.
- `make test` will fail because plenary.nvim is old.

close #34
2022-10-25 13:44:54 +01:00
Latif Sulistyo b54b72dbde
feat: add `silent` config option 2022-09-13 08:28:36 +01:00
olimorris 2b7ab49f36 refactor: telescope extension 2022-07-13 09:27:14 +01:00
olimorris 459adba9dd feat: improve deleting sessions via telescope 2022-07-07 23:08:04 +01:00
olimorris 0ad729ee38 fix: #15 callbacks being incorrectly detected 2022-06-30 19:53:28 +01:00
olimorris a51112c539 refactor: telescope use vim event loop to load 2022-06-25 22:48:45 +01:00
olimorris 040cf43524 feat(telescope): #7 delete session files 2022-05-13 10:48:13 +01:00
olimorris db46d40d45 fix(telescope): #7 telescope layout with functions
Props to @ranebrown for the solution. This error occured when a user has specified a function for the width value in their telescope layout_config
2022-05-13 09:39:28 +01:00
olimorris 0c392ddb9f feat(telescope): #7 start adding delete feature 2022-05-12 20:18:08 +01:00
olimorris d4c0ba339f fix: telescope extension not loading after close 2022-04-24 22:41:40 +01:00