diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-05-10 11:36:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-10 11:36:16 +0000 |
commit | 5d173f6df3b20308eb318cef4b58147b2197d5f9 (patch) | |
tree | 05638837bef25d65a818253814331a4f429f57ac /alacritty.yml | |
parent | 7738c52ed4eb177ead9f43d14207ecb129cfe617 (diff) | |
download | alacritty-5d173f6df3b20308eb318cef4b58147b2197d5f9.tar.gz alacritty-5d173f6df3b20308eb318cef4b58147b2197d5f9.zip |
Refactor config parsing files
This is a large refactor of the config parsing structure, attempting to
reduce the size of the file a bit by splitting it up into different
modules with more specific purposes.
This also fixes #2279.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/alacritty.yml b/alacritty.yml index beb290cf..ac3fc284 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -34,8 +34,8 @@ window: # Blank space added around the window in pixels. This padding is scaled # by DPI and the specified value is always added at both opposing sides. padding: - x: 2 - y: 2 + x: 0 + y: 0 # Spread additional padding evenly around the terminal content. dynamic_padding: false @@ -62,6 +62,12 @@ window: # - SimpleFullscreen startup_mode: Windowed + # Window title + #title: Alacritty + + # Window class (Linux only): + #class: Alacritty + scrolling: # Maximum number of lines in the scrollback buffer. # Specifying '0' will disable scrolling. @@ -161,12 +167,6 @@ font: # effect. use_thin_strokes: true -# Display the time it takes to redraw each frame. -render_timer: false - -# Keep the log file after quitting Alacritty. -persistent_logging: false - # If `true`, bold text is drawn using the bright color variants. draw_bold_text_with_bright_colors: true @@ -370,6 +370,12 @@ live_config_reload: true # args: # - --login +# Startup directory +# +# Directory the shell is started in. If this is unset, or `None`, the working +# directory of the parent process will be used. +working_directory: None + # Windows 10 ConPTY backend (Windows only) # # This will enable better color support and may resolve other issues, @@ -384,6 +390,30 @@ enable_experimental_conpty_backend: false # Send ESC (\x1b) before characters when alt is pressed. alt_send_esc: true +debug: + # Display the time it takes to redraw each frame. + render_timer: false + + # Keep the log file after quitting Alacritty. + persistent_logging: false + + # Log level + # + # Values for `log_level`: + # - None + # - Error + # - Warn + # - Info + # - Debug + # - Trace + log_level: Warn + + # Print all received window events. + print_events: false + + # Record all characters and escape sequences as test data. + ref_test: false + # Key bindings # # Key bindings are specified as a list of objects. Each binding will specify a @@ -423,6 +453,7 @@ alt_send_esc: true # Values for `mods`: # - Command # - Control +# - Option # - Super # - Shift # - Alt |