Janik von Rotz


1 min read

Helix Keymap Search

Learning on how to get around on the computer terminal takes a lot of time. Once you master it, you can command the computer a lot faster than with your mouse. As mentioned in another post I started using the Helix editor more frequently. It is the same case as with the terminal. Learning to get around in Helix takes time, but it can be the last IDE that you’ll ever need.

There are many resources to learn the keymaps and commands for the terminal and the programs. The most important resources are command lists / cheat sheets. The Helix docs provide a detailed overview: https://docs.helix-editor.com/keymap.html

However, this doc is not available in the editor nor the terminal. So I always hat do open my browser and search the site for the right command. Instead, I wanted to do this on the terminal.

I created two script. The first script scrapes the page and creates a JSON data file with section, key, command, and description.

fetch-helix-keymap https://codeberg.org/janikvonrotz/dotfiles/src/branch/main/helix/fetch-helix-keymap

The second script starts and a fzf dialog that filters the entries of the data file.

search-helix-keymap https://codeberg.org/janikvonrotz/dotfiles/src/branch/main/helix/search-helix-keymap

Whenever I am stuck or miss a command in Helix, I type search-helix-keymap in another terminal window and search for the right input.

Category: software-tooling
Tags: 100daystooffload , helix , tools , search

Edit Page / Show Statistic