Commit Graph

90 Commits

Author SHA1 Message Date
Diogo Duarte ae06e0c1c0 Merge pull request #24 from nralbrecht/bookmark_file_pick_mode
Add option to disable using hovered directory
2024-08-30 20:53:47 +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 7ef1a95da1 Add bookmark_file_pick_mode option to README 2024-08-27 20:04:01 +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 f65fa5e7e9 Merge pull request #23 from dedukun/save-last-bookmark
Save last bookmark
2024-08-18 17:11:49 +01:00
Diogo Duarte 5039aaa7d3 Update README.md 2024-08-14 09:56:02 +01:00
Diogo Duarte 944f7fd2b3 update README 2024-08-14 09:51:58 +01:00
Diogo Duarte a5a4ea1bd1 Update README 2024-08-14 09:46:09 +01:00
Diogo Duarte feffe662ee refactored last_directory configs + added persistence to last directory 2024-08-14 09:44:02 +01:00
Diogo Duarte 748efed3b9 Merge branch 'main' of github.com:dedukun/bookmarks.yazi 2024-07-14 19:56:48 +01:00
Diogo Duarte b5dd86a7dd adapt to sxyazi/yazi#1257 2024-07-14 19:56:40 +01:00
Diogo Duarte 08b3f85c5d Update README.md 2024-06-28 21:34:39 +01:00
Diogo Duarte 15304f3535 Updated DDS interface 2024-06-24 13:05:31 +01:00
Diogo Duarte b892e89712 Update README.md 0.2.5 2024-05-15 16:45:05 +01:00
Diogo Duarte 771b59a7e3 Update README.md 2024-05-15 15:47:57 +01:00
Diogo Duarte 888de308af Merge pull request #17 from dedukun/new_desc
Add support for showing just the name of the bookmarked folder in the description
2024-05-15 09:56:51 +01:00
Diogo Duarte 300d6c2fd9 format 2024-05-14 11:01:43 +01:00
Diogo Duarte b17e14e9e0 Update README.md 2024-05-14 10:48:01 +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 3907dd910b Update README.md 2024-05-06 18:21:35 +01:00
Diogo Duarte cc141d8ef8 Update README.md 2024-04-26 15:50:43 +01:00
Diogo Duarte bf6f8cfd86 Merge pull request #14 from dedukun/pub_static
Add Persistence support
2024-04-26 15:44:22 +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 8e72190114 Update README 2024-04-19 04:43:15 +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 23f2e785b6 Merge pull request #11 from dedukun/save_last_dir
Add `save_last_directory` which allows users to use `''` to go to last visited directory
2024-04-01 20:40:42 +01:00
Diogo Duarte a7f0565b2f Merge branch 'save_last_dir' of github.com:dedukun/bookmarks.yazi into save_last_dir 2024-04-01 20:20:29 +01:00
Diogo Duarte 76b7a64a36 Update README.md 2024-04-01 20:19:55 +01:00
Diogo Duarte 8b0bad0c89 Update README.md 2024-04-01 20:19:55 +01:00
Diogo Duarte b10000e677 Update README.md 2024-04-01 20:19:55 +01:00
Diogo Duarte 796ac2ce46 Removed FIX comments 2024-04-01 20:19:55 +01:00
Diogo Duarte 1dcb16f735 update README 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