Key rebinding
This module allows for special keybindings that only take effect while the point is in a region of input text. The default keybindings mimic the bindings used in other shells when the user is editing new input text. To enable this module, add eshell-rebind to eshell-modules-list.
For example, it binds C-u to kill the current input text and C-w to backward-kill-word. If the history module is enabled, it also binds C-p and C-n to move through the input history.
If eshell-confine-point-to-input is non-nil, this module prevents certain commands from causing the point to leave the input area, such as backward-word, previous-line, etc.