How to Simplify Reading Text/Markdown with Helix and fzf in Powershell
Oct 2, 2023
The aim of this page📝 is to explain how to configure and use the Helix editor based on the particular example of remapping keys and creating shortcuts.
- Helix is a highly configurable text editor.
- It uses a TOML configuration file for customization.
- You can open the config file by typing
:config-open
within Helix in normal mode. - Paste the following so that you can you either quickly close or save&close with
space+q
andspace+x
[keys.normal.space]
q = ":quit!"
x = ":wq"
- Install fzf, ideally also see https://andrew-quinn.me/fzf/
- Put the following into your terminal profile
function haf {hx $(fzf)}
- press
haf
to read the text in the helix (I love syntax-highlighted reading experience) - close with
space+q/x
depending on whether you want or not to save changes