sync non-structured defaults

this is basically all the config except
- `$env.config.explore`
- `$env.config.color_config`
- `$env.config.keybindings`
- `$env.config.menus`
- `$env.config.hooks`
- `$env.config.datetime_format`
This commit is contained in:
amtoine 2023-07-13 18:04:49 +02:00
parent 3e2bfc9bb7
commit e25e5ccd66
No known key found for this signature in database
GPG Key ID: 37AAE9B486CFF1AB
2 changed files with 5 additions and 5 deletions

View File

@ -132,10 +132,10 @@ impl Default for Config {
explore: HashMap::new(), explore: HashMap::new(),
max_history_size: i64::MAX, max_history_size: 100_000,
sync_history_on_enter: true, sync_history_on_enter: true,
history_file_format: HistoryFileFormat::PlainText, history_file_format: HistoryFileFormat::PlainText,
history_isolation: false, history_isolation: true,
case_sensitive_completions: false, case_sensitive_completions: false,
quick_completions: true, quick_completions: true,
@ -153,9 +153,9 @@ impl Default for Config {
cursor_shape_vi_normal: NuCursorShape::UnderScore, cursor_shape_vi_normal: NuCursorShape::UnderScore,
color_config: HashMap::new(), color_config: HashMap::new(),
use_grid_icons: false, use_grid_icons: true,
footer_mode: FooterMode::RowCount(25), footer_mode: FooterMode::RowCount(25),
float_precision: 4, float_precision: 2,
buffer_editor: String::new(), buffer_editor: String::new(),
use_ansi_coloring: true, use_ansi_coloring: true,
bracketed_paste: true, bracketed_paste: true,

View File

@ -294,7 +294,7 @@ $env.config = {
use_grid_icons: true use_grid_icons: true
footer_mode: "25" # always, never, number_of_rows, auto footer_mode: "25" # always, never, number_of_rows, auto
float_precision: 2 # the precision for displaying floats in tables float_precision: 2 # the precision for displaying floats in tables
buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL buffer_editor: "" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
use_ansi_coloring: true use_ansi_coloring: true
bracketed_paste: true # enable bracketed paste, currently useless on windows bracketed_paste: true # enable bracketed paste, currently useless on windows
edit_mode: emacs # emacs, vi edit_mode: emacs # emacs, vi