The default pairs are ()''""``, but these can be customized by To disable auto-pairs altogether, set auto-pairs to false: Simple boolean value, or a specific mapping of pairs of single characters. Set with an integer value for maximum depth to recurseĮnables automatic insertion of pairs to parentheses, brackets, etc. gitignore, whose path is specified in git's config: core.excludefile option Ignore symlinks that point at files already shown in the pickerĮnables reading ignore files from parent directoriesĮnables reading global. The current branch name or detached commit hash of the opened workspace Inserts a space between elements (multiple/contiguous spacers may be specified) The cursor position as a percentage of the total number of lines The number of characters currently in primary selection The number of warnings and/or errors on workspace The total line numbers of the opened file The encoding of the opened file if it differs from UTF-8 The indicator to show whether the file is modified (a appears when there are unsaved changes) The current editor mode ( mode.normal/ mode.insert/ lect)Ī progress spinner indicating LSP activity Statusline elements can be defined as follows: The configuration distinguishes between three areas of the status line: helix/config.tomlĪllows configuring the statusline at the bottom of the editor. Used for the :reflow command and soft-wrapping if soft-wrap.wrap-at-text-width is setĭirectories relative to the workspace root that are treated as LSP roots. Whether to color the mode indicator with different colors depending on the mode itself Can be always, never or multiple (only shown if more than one buffer is in use) Renders a line at the top of the editor displaying open buffers. Can be overridden by language specific rulers in languages.toml file List of column positions at which to display the rulers. Set to true to override automatic detection of terminal undercurl support in the event of a false negative Set to true to override automatic detection of terminal truecolor support in the event of a false negative Set to true to make completions always replace the entire word and not just the part before the cursor The min-length of word under cursor to trigger autocompletion Used for autocompletion, set to 0 for instant Time in milliseconds since last keypress before idle timers trigger. Requires focus event support from your terminal Gutters to display: Available are diagnostics and diff and line-numbers and spacer, note that diagnostics also includes other features like breakpoints, 1-width padding will be inserted if gutters is non-emptyĮnable automatic pop up of auto-completionĮnable automatic saving on the focus moving away from Helix. When unfocused or in insert mode, relative will still show absolute line numbers Line number display: absolute simply shows each line's number, while relative shows the distance from the current line. Shell to use when running external commands Number of lines to scroll per scroll wheel step Number of lines of padding around the edge of the screen when scrolling Its settings will be merged with the configuration directory config.toml and the built-in configuration. Signal to the Helix process on Unix operating systems, such as by using the command pkill -USR1 hx.įinally, you can have a config.toml local to a project by putting it under a. config command line argument, for example hx -c path/to/custom-config.toml.Īdditionally, you can reload the configuration file by sending the USR1 You can use a custom configuration file by specifying it with the -c or □ You can easily open the config file by typing :config-open within Helix normal mode. Linux and Mac: ~/.config/helix/config.toml.To override global configuration parameters, create a config.toml file located in your config directory:
0 Comments
Leave a Reply. |