add comment about commented new lines keybindings

This commit is contained in:
Maxim Uvarov
2024-08-14 03:17:42 +00:00
parent a5acd00db9
commit 05b58caf7b

View File

@ -889,6 +889,11 @@ $env.config = {
mode: emacs mode: emacs
event: { edit: selectall } 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 # name: insert_newline
# modifier: alt # modifier: alt