diff options
| author | lukeflo | 2025-06-28 12:45:21 +0200 |
|---|---|---|
| committer | lukeflo | 2025-06-28 12:45:21 +0200 |
| commit | 5700c16b9dd2a964d071dcae4de5baa896bc2d20 (patch) | |
| tree | 9bf7e4416387839229174476e6c6c35ab6aa022c /src/app.rs | |
| parent | 3bc409fa5627cb2fd2dd1bd885f471e4aab21478 (diff) | |
| download | bibiman-5700c16b9dd2a964d071dcae4de5baa896bc2d20.tar.gz bibiman-5700c16b9dd2a964d071dcae4de5baa896bc2d20.zip | |
add shortcuts for opening files/links and yanking citekey
+ `o-o`|`o-l` -> shortcut for opening first file/link of current entry
+ `y-y` -> shortcut for yanking citekey of current entry
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -79,6 +79,10 @@ impl App { } else if let Some(PopupKind::MessageError) = self.bibiman.popup_area.popup_kind { self.bibiman.close_popup() + } else if let Some(PopupKind::YankItem) | Some(PopupKind::OpenRes) = + self.bibiman.popup_area.popup_kind + { + self.bibiman.fast_selection(cfg, key_event.code)?; } let command = if self.input_mode { CmdAction::Input(InputCmdAction::parse(key_event, &self.input)) |
