From 05b58caf7bec2a2ab9c50ee6b9b4b5377be192f5 Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Wed, 14 Aug 2024 03:17:42 +0000 Subject: [PATCH] add comment about commented new lines keybindings --- crates/nu-utils/src/sample_config/default_config.nu | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/nu-utils/src/sample_config/default_config.nu b/crates/nu-utils/src/sample_config/default_config.nu index 4b8009142f..1d5856a946 100644 --- a/crates/nu-utils/src/sample_config/default_config.nu +++ b/crates/nu-utils/src/sample_config/default_config.nu @@ -889,6 +889,11 @@ $env.config = { mode: emacs event: { edit: selectall } } + # Users frequently request a keybinding to add new lines in code + # while using REPL. The only reason those keybindings were never shipped + # with the initial reedline set is that those combinations of modifiers + # with Enter have somewhat spotty support across different platforms/terminals. + # So please feel free to uncomment and try the keybindings that will work for you. # { # name: insert_newline # modifier: alt