diff --git a/crates/nu-protocol/src/config.rs b/crates/nu-protocol/src/config.rs index db1cce33c..0b1915b72 100644 --- a/crates/nu-protocol/src/config.rs +++ b/crates/nu-protocol/src/config.rs @@ -132,10 +132,10 @@ impl Default for Config { explore: HashMap::new(), - max_history_size: i64::MAX, + max_history_size: 100_000, sync_history_on_enter: true, history_file_format: HistoryFileFormat::PlainText, - history_isolation: false, + history_isolation: true, case_sensitive_completions: false, quick_completions: true, @@ -153,9 +153,9 @@ impl Default for Config { cursor_shape_vi_normal: NuCursorShape::UnderScore, color_config: HashMap::new(), - use_grid_icons: false, + use_grid_icons: true, footer_mode: FooterMode::RowCount(25), - float_precision: 4, + float_precision: 2, buffer_editor: String::new(), use_ansi_coloring: true, bracketed_paste: true, diff --git a/crates/nu-utils/src/sample_config/default_config.nu b/crates/nu-utils/src/sample_config/default_config.nu index dba55dfe3..143ac453a 100644 --- a/crates/nu-utils/src/sample_config/default_config.nu +++ b/crates/nu-utils/src/sample_config/default_config.nu @@ -294,7 +294,7 @@ $env.config = { use_grid_icons: true footer_mode: "25" # always, never, number_of_rows, auto 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 bracketed_paste: true # enable bracketed paste, currently useless on windows edit_mode: emacs # emacs, vi