That’s exactly the configuration you want. If you wish to add more languages, you add their configuration to the same languages.toml file. If you’re interested, here are some extra keymaps that I’ve added to my ~/.config/helix/config.toml:
# ----- Keymaps
[keys.normal]
C-s = ":w" # Save files with Ctrl+S (not sure what that would be on Macs)
C-o = ":open ~/.config/helix/config.toml" # Ctrl+O to open the config
g = { a = "code_action" } # ga to open code actions
X = "extend_line_above" # Shift+x to select the whole line above
D = ["goto_first_nonwhitespace", "extend_to_line_end", "change_selection"] # Wipe and edit the current line
c = ["trim_selections", "change_selection"] # Make 'c' automatically strip the selection of extra whitespace
a = ["append_mode", "collapse_selection"] # Remove the selection when entering insert mode with 'a'
"tab" = "goto_next_function" # Select and jump to the next function via Treesitter
"S-tab" = "goto_prev_function" # Select and jump to the previous function via Treesitter
Happy coding!






















