Software: Apache. PHP/8.3.27 uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364) Safe-mode: OFF (not secure) /usr/share/doc/jed-common/html/ drwxr-xr-x | |
| Viewing file: Select action/file-type: 12 Keyboard Macrosjed is able to record a series of keystrokes from the terminal and replay
them. The saved series of keystrokes is known as a keyboard macro. To
begin a keyboard macro, simply enter the begin keyboard macro key sequence
which is bound to Ctrl-X ( if One nice feature jed includes is the Any time an error is generated, the process of defining the macro is aborted as well as execution of the macro. This is very useful and may be exploited often. For example, suppose you want to trim excess whitespace from the end of ALL lines in a buffer. Let us also suppose that the number of lines in the buffer is less than 32000. Then consider the following keystrokes: Ctrl-X ( (begin macro)
Ctrl-E (goto end of line)
ESC (trim whitespace)
Down Arrow (go down one line)
Ctrl-X ) (end macro)
Now the macro has been defined. So move to the top of the buffer and execute it 32000 times: ESC < (top of buffer)
ESC 3 2 0 0 0 (repeat next command 32000 times
Ctrl-X e (execute macro)
If the buffer has less than 32000 lines, the end of the buffer will be reached and an error will be generated aborting the execution of the macro. |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0111 ]-- |