TornaxO7
d9b722a7e4
update config according to https://github.com/sxyazi/yazi/pull/1966
2024-11-29 17:36:50 +01:00
nralbrecht
6769310fa2
Change to directory if the parent is stored
...
When storing a hovered file as bookmark it makes sense to use the reveal command to move to it. When storing the parent directory however, one has to cd to it. Otherwise the parent directory is opened and the stored directory is only focused.
2024-08-28 17:34:29 +02:00
nralbrecht
5b4258225b
Rename bookmark_file_pick_mode option to file_pick_mode
2024-08-28 17:18:29 +02:00
nralbrecht
53ae96aed8
Rename bookmark_file_pick_mode option value from current to parent
2024-08-27 20:02:38 +02:00
nralbrecht
17702a3752
Add option to always pick the current folder and ignore hovered folder
2024-08-27 17:43:40 +02:00
Diogo Duarte
feffe662ee
refactored last_directory configs + added persistence to last directory
2024-08-14 09:44:02 +01:00
Diogo Duarte
b5dd86a7dd
adapt to sxyazi/yazi#1257
2024-07-14 19:56:40 +01:00
Diogo Duarte
15304f3535
Updated DDS interface
2024-06-24 13:05:31 +01:00
Diogo Duarte
300d6c2fd9
format
2024-05-14 11:01:43 +01:00
Diogo Duarte
06a226ba4a
add support for showing just the path of the folder in the desc, instead of the full path
2024-05-14 10:39:43 +01:00
Diogo Duarte
3663e13b19
Fix for when folder.window is nil
2024-04-26 15:42:32 +01:00
Diogo Duarte
2d96d05a32
Not saving cursor anymore
2024-04-26 15:31:37 +01:00
Diogo Duarte
c52de13eb0
removed 'state.indexes' + fixed vim mode bookmark deletion
2024-04-26 15:14:57 +01:00
Diogo Duarte
60bfe6f160
Fix delete bookmarks
2024-04-22 13:26:19 +01:00
Diogo Duarte
bea4f92b75
revert "Fix jump"
...
Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com >
2024-04-19 14:47:37 +01:00
Diogo Duarte
98f8e1e283
Fix jump
2024-04-19 14:32:49 +01:00
Diogo Duarte
9c75f7d8cb
vim mode also working now
2024-04-19 14:08:44 +01:00
Diogo Duarte
61171cbc8a
remove the indexes entry when deleting bookmarks
2024-04-19 13:58:52 +01:00
Diogo Duarte
be82c3072e
Also save the indexes
2024-04-19 13:42:20 +01:00
Diogo Duarte
94c661afe3
Renamed _persist_bookmarks -> _load_bookmarks
2024-04-19 05:27:10 +01:00
Diogo Duarte
411b8e9bf4
added new persistent mode
2024-04-19 05:22:20 +01:00
Diogo Duarte
a8cb81fc01
Initial persistence implementation
2024-04-19 04:34:58 +01:00
Diogo Duarte
60a7357c37
organize the code
2024-04-19 03:51:23 +01:00
Diogo Duarte
796ac2ce46
Removed FIX comments
2024-04-01 20:19:55 +01:00
Diogo Duarte
b6eecdccb9
Temporary fix to mitigate the issue no being able to get CWD in setup
2024-04-01 20:19:55 +01:00
Diogo Duarte
d55ca404aa
Add argument for enabling save_last_directory
2024-04-01 20:19:55 +01:00
Diogo Duarte
1e96065b63
shallow copy when getting all bookmarks
2024-04-01 20:19:55 +01:00
Diogo Duarte
b5674166db
Updating state.curr_dir on hover + added initial state to it
2024-04-01 20:19:55 +01:00
Diogo Duarte
914444c097
started working of having '' go to last dir
2024-04-01 20:19:55 +01:00
Diogo Duarte
0576dd5f75
Fixed issue where multiple bookmarks where being created for the same key
2024-03-29 18:08:41 +00:00
Diogo Duarte
56b4742bac
fix bug where it was required to run the function
2024-03-21 19:51:50 +00:00
Diogo Duarte
5a908d31d5
added notification for delete and delete_all
2024-03-12 14:49:57 +00:00
Diogo Duarte
e1ca89ed7f
added notification support for new bookmarks
2024-03-12 14:07:53 +00:00
Diogo Duarte
eebc8644b0
Added stylua + formatted code
2024-03-12 13:27:04 +00:00
Diogo Duarte
c067c08211
Update to new plugin API
2024-02-22 10:31:39 +00:00
sxyazi
ae2000224a
Rebase
2024-02-10 16:13:51 +08:00
Diogo Duarte
49864342fa
Revert "refactor: use ya.sync to simplify the code"
2024-02-10 07:37:25 +00:00
sxyazi
9eb36663b7
refactor: use ya.sync to simplify the code
2024-02-10 12:16:24 +08:00
Diogo Duarte
be45ad7367
Add 'delete' and 'deleteall' commands
2024-02-09 19:17:17 +00:00
Diogo Duarte
81fc264799
Show path when selecting mark
2024-02-09 18:51:20 +00:00
Diogo Duarte
469fc23ffc
clean up
2024-02-09 17:22:24 +00:00
Diogo Duarte
fc523fa3ba
finished jumping
2024-02-09 17:21:21 +00:00
Diogo Duarte
ce02afdd2e
Saving correct folder cursor and path in bookmark
2024-02-09 17:12:08 +00:00
Diogo Duarte
23e5c7a530
License + basic state working but not saving paths nor jumping
2024-02-09 16:50:02 +00:00