# This file contains standard macros used by jove.rc and various jove.rc.TERM.

# This deletes the line containing the cursor.
# It is intended for binding to the delete-line key on terminals which have it.
# It is placed in the kill ring for subsequent yanking.
define-macro delete-line ^[xbeginning-of-line^M^[xset-mark^M^[xnext-line^M^[xkill-region^M^[xpop-mark^M

# This moves the cursor to the start of the next line.
# It is intended for binding on terminals with a suitable key (eg R11 on Sun).
define-macro newline-and-beginning ^A^N

# This scrolls up half a page
define-macro previous-half-page ^[xbeginning-of-window^M^[xredraw-display^M
# This scrolls down half a page
define-macro next-half-page ^[xend-of-window^M^[xredraw-display^M
