diff options
| author | lukeflo | 2024-12-25 22:32:42 +0100 |
|---|---|---|
| committer | lukeflo | 2024-12-25 22:32:42 +0100 |
| commit | 0312b8b31160297033e8a435c00e7c92eaa371e6 (patch) | |
| tree | 0d78fdde06103c175f13b4ef70a3119ca52f1c43 /src/app.rs | |
| parent | dc537b3865b59da28de0e754fe9a79efcaf618f6 (diff) | |
| download | bibiman-0312b8b31160297033e8a435c00e7c92eaa371e6.tar.gz bibiman-0312b8b31160297033e8a435c00e7c92eaa371e6.zip | |
Minor Feature: Sort entries by position in/of file
+ Hitting now sorts the entries by position in file or position of files
+ Can be helpful to detect entries newly added via DOI which are appended to EOF
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -280,6 +280,9 @@ impl App { self.bibiman.entry_table.sort_entry_table(true); } } + CmdAction::SortById => { + self.bibiman.entry_table.sort_by_id(); + } CmdAction::YankItem => { if let CurrentArea::EntryArea = self.bibiman.current_area { let citekey: &str = &self.bibiman.entry_table.entry_table_items[self |
