File: tpu-extras.el.html
Use the functions defined here to customize TPU-edt to your tastes by
setting scroll margins and/or turning on free cursor mode. Here's an
example for your init file.
(tpu-set-cursor-free) ; Set cursor free.
(tpu-set-scroll-margins "10%" "15%") ; Set scroll margins.
Scroll margins and cursor binding can be changed from within emacs using
the following commands:
tpu-set-scroll-margins or set scroll margins
tpu-set-cursor-bound or set cursor bound
tpu-set-cursor-free or set cursor free
Additionally, Gold-F toggles between bound and free cursor modes.
Note that switching out of free cursor mode or exiting TPU-edt while in
free cursor mode strips trailing whitespace from every line in the file.
Defined variables (5)
tpu-backward-char-like-tpu | If non-nil, in free cursor mode backward-char (left-arrow) works |
tpu-bottom-scroll-margin | Scroll margin at the bottom of the screen. |
tpu-cursor-free-mode | Non-nil if Tpu-Cursor-Free mode is enabled. |
tpu-cursor-free-mode-hook | Hook run after entering or leaving ‘tpu-cursor-free-mode’. |
tpu-top-scroll-margin | Scroll margin at the top of the screen. |
Defined functions (24)
tpu--respect-bottom-scroll-margin | (ORIG-FUN &optional &rest ARGS) |
tpu-backward-char | (NUM) |
tpu-backward-line | (NUM) |
tpu-bottom-check | (BEG LINES) |
tpu-current-end-of-line | () |
tpu-cursor-free-mode | (&optional ARG) |
tpu-forward-char | (NUM) |
tpu-forward-line | (NUM) |
tpu-next-beginning-of-line | (NUM) |
tpu-next-end-of-line | (NUM) |
tpu-next-line | (NUM) |
tpu-page | (NUM) |
tpu-paragraph | (NUM) |
tpu-previous-end-of-line | (NUM) |
tpu-previous-line | (NUM) |
tpu-scroll-window-down | (NUM) |
tpu-scroll-window-up | (NUM) |
tpu-search-internal | (PAT &optional QUIET) |
tpu-set-cursor-bound | () |
tpu-set-cursor-free | () |
tpu-set-scroll-margins | (TOP BOTTOM &optional EMIT-MSG) |
tpu-top-check | (BEG LINES) |
tpu-trim-line-ends-if-needed | () |
tpu-with-position | (&rest BODY) |