Bryan
ccc6bc20e2
trying stuff
2024-11-11 06:43:02 -06:00
Bryan
e69c014833
trying stuff
2024-11-11 06:27:20 -06:00
Bryan
12cdb6d705
temporarily remove SessionWritePost autocommand to see if that's causing the exit hang
2024-11-11 06:23:06 -06:00
Bryan
ad183f1a8c
call nvim_command(wa) using pcall() to prevent unnamed buffer error from preventing session from saving
2024-11-11 06:13:05 -06:00
Bryan
a8a0bfd2f1
Change where session post save autocommand is defined
2024-11-11 05:57:15 -06:00
Bryan
88f5508d46
wip
2024-11-11 00:22:59 -06:00
Bryan
cf4c944b21
try to fix nvim hanging when it exits
2024-11-11 00:19:28 -06:00
Bryan
2a421bd9fe
delete buffers using instead of bufdelete function with loop
2024-11-10 23:21:56 -06:00
Bryan
f312ae146a
See if using vim.schedule() when doing some stuff will fix the weirdness
2024-11-09 08:35:13 -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
0826179c90
Progress
2024-11-08 00:16:52 -06:00
Bryan
c056c72abd
WIP
2024-11-07 23:56:43 -06:00
Bryan
a07ab9b474
WIP
2024-11-07 23:34:23 -06:00
Bryan
b55a7581e4
WIP
2024-11-07 17:42:56 -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
7de72c54af
WIP
2024-11-07 16:54:49 -06:00
Bryan
e564134995
Fix stupid error in telescope load session
2024-11-07 15:39:12 -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
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
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
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
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
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