Replies: 3 comments
-
|
Here is my workaround for adding keyboard shortcuts, hope it can help others: I add some javascript code in the "Custom JavaScript" Settings section For instance, I wanted to use 'b' as a synonym for 'v' as I find it easier to reach from the right home row, and 'b' is not used by miniflux. Basically the code intercepts as early as possible the key I want to (re) define ('b' here), before miniflux sees it, as its first step is to discard it if it doesnt find the key in its built-in list of shortcuts. It then just re-emits its replacement ('v' here). But, to avoid having all 'b' redefined, even when typing texts in input fields, I check first if
Here it is: adapt and experiment. |
Beta Was this translation helpful? Give feedback.
-
|
A personal opinion: I love minimalist opinionated single-binaries programs like miniflux. But I would encourage the author to allow as much possibilities to add/modify its behavior via custom CSS and JS. However, care should be taken so that the built-in HTML / CSS / JS codes do not prevent tweaks. For instance the built-in initializeKeyboardShortcuts JS function could call a initializeKeyboardShortcutsHook function if it exists that could be defined in the user Custom JS setting. I am no JS expert, so it is just an idea, but I guess it could mean changing app.js by adding So that we can add to our Custom JS: It seems to me a minimal change to the core code, with no maintenance overhead, but opening lots of power for customization. Ideas? |
Beta Was this translation helpful? Give feedback.
-
|
Toying more with the idea, I experimented with more redefining of miniflux keys. Highly experimental, from a miniflux novice, but it seems to work for me. I put it on Github: https://github.com/ColasNahaboo/colas-miniflux-tools Copy the contents of the This file defines or redefines keyboard shortcuts in a modular way: each key is handled in its own Currently what it does is:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My flow when using miniflux is to go to categories (g-c) and then read each feed separately. At the moment I go to the desired category using
j/kand then click on Feeds. Is there a possibility to set a key to open the feeds section when a category is highlighted? Also, in the same way, could we assign more shortcuts for each of the options in a category (Entries, Edit, Mark as read)?Beta Was this translation helpful? Give feedback.
All reactions