This commit is contained in:
Abraham Raji 2020-01-15 21:00:45 +05:30
parent 7ad8f9ffac
commit 6bcbbe9e39
1 changed files with 7 additions and 3 deletions

View File

@ -17,16 +17,20 @@
(getenv "PATH")))
#+END_SRC
*** Pager Setup
If any program wants to pause the output through the =$PAGER= variable, well, we don't really need that:
If any program wants to pause the output through the =$PAGER= variable, well
, we don't really need that:
#+BEGIN_SRC emacs-lisp
(setenv "PAGER" "cat")
#+END_SRC
*** Navigation and Keys
Eshell comes with some interesting features:
- ~M-RET~ can be used to accumulate further commands while a command is currently running. Since all input is passed to the subprocess being executed, there is no automatic input queueing as there is with other shells.
- ~M-RET~ can be used to accumulate further commands while a command is currently
running. Since all input is passed to the subprocess being executed, there is no
automatic input queueing as there is with other shells.
- ~C-c C-t~ can be used to truncate the buffer if it grows too large.
- ~C-c C-r~ will move point to the beginning of the output of the last command. With a prefix argument, it will narrow to view only that output.
- ~C-c C-r~ will move point to the beginning of the output of the last command.
With a prefix argument, it will narrow to view only that output.
- ~C-c C-o~ will delete the output from the last command.
- ~C-c C-f~ will move forward a complete shell argument.
- ~C-c C-b~ will move backward a complete shell argument.