From 735264bb3d673c943e2e8c4898dba0609f49b3f4 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Sun, 20 Oct 2024 18:14:17 +0200 Subject: Implement Sorting, jumping multiple entries - Select a column with `j` and `l` - Sort selected column with `s` (toggles regular and reversed order) - Jump list up/down by 5 entries Vim-style using `C-d` and `C-u` --- README.md | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ae34818..c1c35ae 100644 --- a/README.md +++ b/README.md @@ -60,30 +60,36 @@ updated: - [x] **Open related PDF** file (`file` BibLaTeX key) with keypress. - [x] **Open related URL/DOI** with keypress. - [x] **Scrollbar** for better navigating. +- [x] **Sort Entries** by different each column (`Authors`, `Title`, `Year`, + `Pubtype`) - [ ] **Open related notes file** for specific entry. - [ ] **Add Entry via DOI** as formatted code. -- [ ] **Sort Entries** by different values (partly possible for author column) -- [ ] **Support Hayagriva(`.yaml.`)** format as input. - [ ] **Implement config file** for setting some default values like main bibfile, PDF-opener, or editor +- [ ] **Support Hayagriva(`.yaml`)** format as input (_on hold for now_, because + the Hayagriva Yaml style doesn't offer keywords; s. issue in + [Hayagriva repo](https://github.com/typst/hayagriva/issues/240)). ## Keybindings Use the following keybindings to manage the TUI: -| Key | Action | -| -------------------------------------------------------------------------------- | ------------------------------------------- | -| **jk** \| **DownUp** | Move selected list | -| **gG** | Go to first/last entry | -| **PageDownPageUp** \| **Alt-jAlt-k** | Scroll Info window | -| **y** | Yank/copy citekey of selected entry | -| **e** | Open editor at selected entry | -| **o** \| **u** | Open related PDF \| URL/DOI | -| **TAB** | Switch between entries and keywords | -| **/** \| **Ctrl-f** | Enter search mode | -| **Enter** | Filter by selected keyword / Confirm search | -| **ESC** | Abort search / Reset current list | -| **q** \| **Ctrl-c** | Quit TUI | +| Key | Action | +| -------------------------------------- | ------------------------------------------- | +| `j`,`k` \| `Down`,`Up` | Move down/up by 1 | +| `Ctrl-d` \| `Ctrl-u` | Move down/up by 5 | +| `g`,`G` | Go to first/last entry | +| `h`,`k` | Select previous/next entry column | +| `s` | Sort current column (toggles) | +| `PageDown`,`PageUp` \| `Alt-j`,`Alt-k` | Scroll Info window | +| `y` | Yank/copy citekey of selected entry | +| `e` | Open editor at selected entry | +| `o` \| `u` | Open related PDF \| URL/DOI | +| `TAB` | Switch between entries and keywords | +| `/` \| `Ctrl-f` | Enter search mode | +| `Enter` | Filter by selected keyword / Confirm search | +| `ESC` | Abort search / Reset current list | +| `q` \| `Ctrl-c` | Quit TUI | ## Search @@ -122,7 +128,8 @@ Now, `bibiman` also provides the possibility to open PDFs (as value of the `file` BibLaTeX field), as well as DOIs and URLs. For selecting the right program, it uses `xdg-open` on Linux, `open` on MacOS, -and `start` on Windows. _MacOS and Windows are untested right now!_ +and `start` on Windows. _MacOS is untested right now! Windows does not work, +have to figure this out_ Furhtermore, DOIs have to begin with either `https://doi...` as full URL or `10.(...)` as regular DOI style. URLs work if they begin with either `http...` -- cgit v1.2.3