Commit Graph

180 Commits (d8a0537b7183591ba65c9a9b33c3bfd3a11cb98a)

Author SHA1 Message Date
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 5e8c2ac0a7 WIP 2024-11-07 17:16:20 -06:00
Bryan 2b71c34d46 WIP 2024-11-07 17:13:00 -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 7de72c54af WIP 2024-11-07 16:54:49 -06:00
Bryan 9d6a37551d WIP 2024-11-07 16:11:42 -06:00
Bryan e564134995 Fix stupid error in telescope load session 2024-11-07 15:39:12 -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 6c83e6ecb3 Move post load/save event creation back out of setup func 2024-11-07 11:40:15 -06:00
Bryan 0f07bade0c Move post load/save event creation to setup func 2024-11-07 11:32:22 -06:00
Bryan 07fd86682f Use Session* events to fire post load/save events 2024-11-07 11:21:37 -06:00
Bryan d6485bc69f fix pre/post load/save callbacks? 2024-11-07 00:50:50 -06:00
Bryan 28e72fb1ff Remove delays around load and save, create pre/post callbacks instead 2024-11-07 00:22:59 -06:00
Bryan 1bcfe10f2a Use defer_fn() instead of sleep, lets see if this works 2024-11-06 20:49:32 -06:00
Bryan 7b93db8e5c Add sleeps around save/load pre/post to give time for user events to finish 2024-11-06 20:36:34 -06:00
Bryan e87a20b70d Add sleeps around save/load pre/post to give time for user events to finish 2024-11-06 20:35:44 -06:00
Oli Morris e65093de39 fix: do not autostart the plugin if nvim is passed args 2024-10-17 13:10:04 +01:00
olimorris f0f02a990c refactor!: remove support for old config 2024-09-11 17:23:15 +01:00
Komil484 6e9c992381
fix: SessionDelete now uses native vim cmds (#156) 2024-09-03 18:43:34 +01:00
Mike Iversen c9c11ee71f
fix: #146 better handling for empty tables
PR (#152)
2024-08-30 15:14:00 +01:00
olimorris 999b6918b4 feat: add `SessionSelect` command
For those who don't want to use Telescope to load and select sessions,
this offers an alternative
2024-08-22 18:37:42 +01:00
Christopher Speck 03990e44c3
fix: do not pass sanitized directories into utils.dirs_match (#148) 2024-08-17 09:52:25 +01:00
olimorris e2ae8b321e refactor(utils): directory formatting 2024-08-09 13:31:14 +01:00
olimorris 12de2ac0cf refactor(utils): update `in_table` function 2024-08-09 08:59:48 +01:00
olimorris 98cd3de512 fix: #146 allowed_dirs and ignored_dirs 2024-08-09 08:56:18 +01:00
Oli 22e17b07fb
refactor!: #145 restore simplicity to the plugin
Announcement in #145
2024-08-08 18:25:16 +01:00
olimorris 0446fd0217 refactor: better git branch checking 2024-08-06 22:05:43 +01:00
olimorris 4df3f8a036 chore: add logging 2024-07-02 19:32:36 +01:00
olimorris a9138468f9 chore: handle null parameters on `ignore_branch` 2024-07-02 19:32:12 +01:00
Anurag 0a9eebf5cc
fix: missing autocmd data when no branch (#137) 2024-06-15 21:50:38 +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
Zheng PiaoDan 2b4f192aca
fix: follow_cwd option (#132)
* fix: TestFollowCwd

* fix: follow_cwd not actually working

cause: `follow_cwd and nil or session` always use `session` because the
`true and nil` expression is evaluated to false
2024-05-31 09:47:52 +01:00
Rémi Labeyrie 1e9fd63e25
fix: remove unused last_modified property (#126) 2024-05-07 19:31:21 +01:00
Oli 9c5fc98a4c
fix: #120 session loading for branches with slashes 2024-05-03 10:09:50 +01:00
PostCyberPunk 96bf597778
fix: use stat to last modified date (#121) 2024-04-26 09:23:21 +01: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
Matthias Bilger ca9900c31e
fix: error message outside of git repo (#116)
in case ignored branches have been set and the current dir is not a
git directory no more error messages will be thrown
2024-04-04 13:42:31 +01:00
olimorris a192a0a11a chore(formatting): updates 2024-03-12 21:46:14 +00:00
Matthias Bilger ce9d621683
feat: Add ability to ignore branches (#114) 2024-03-12 21:44:36 +00:00
jyuan0 18fda8136f
feat: configurable telescope mappings (#113) 2024-03-06 14:16:41 +00:00
anhoder b4e09a639a
fix: force save (#112) 2024-02-29 09:04:48 +00:00
Mike Iversen edd8aa41cd
chore: use vim.notify (#108)
* Updated warnings and info to print with vim.notify

* Updated formatting
2024-01-06 09:40:32 +00:00
olimorris 284d714b8d fix: #107 corrected remove warning message 2024-01-05 22:56:04 +00:00
olimorris 9545fc0b85 fix: #107 remove warning message 2024-01-05 22:53:47 +00:00