No description
  • C 90.6%
  • Roff 7.1%
  • M4 1%
  • Awk 0.6%
  • Makefile 0.4%
  • Other 0.2%
Find a file
Curt J. Sampson 985ab6140c Add history mode scroll curline to top/middle/bottom
This adds history mode commands `scroll-top`, `scroll-middle` and
`scroll-bottom` that move the line the cursor currently is on to
the stated location. By default these are bound to:

    z   scroll-middle    as vi's `zz` or `z.`
    -   scroll-bottom    as vi's `z-` or `zb`
    +   scroll-top       as vi's `z<Enter>` or `zt`

These are not quite perfectly matched to the vi commands, but they
are close enough that some muscle memory will work, particuarly
given that they are idempotent (e.g., `zz` will work exactly and
`z-` will work the same as vi except with an extra screen redraw).

Co-authored-by: Claude Opus 4.8 (Web)
2026-07-29 02:22:06 -04:00
.github add DragonflyBSD by https://github.com/vmactions/dragonflybsd-vm 2022-08-06 21:30:02 -04:00
compat
logo
presentations
tools
.gitignore
.mailmap
.travis.yml
alerts.c
arguments.c
array.h
attributes.c
autogen.sh
build_static_release.sh
cfg.c
CHANGES
client.c
cmd-attach-session.c
cmd-bind-key.c
cmd-break-pane.c
cmd-capture-pane.c
cmd-choose-buffer.c
cmd-choose-client.c
cmd-choose-tree.c
cmd-clear-history.c
cmd-command-prompt.c
cmd-confirm-before.c
cmd-copy-mode.c
cmd-detach-client.c
cmd-display-message.c
cmd-display-panes.c
cmd-find-window.c
cmd-find.c
cmd-if-shell.c
cmd-join-pane.c
cmd-kill-pane.c
cmd-kill-server.c
cmd-kill-session.c
cmd-kill-window.c
cmd-list-buffers.c
cmd-list-clients.c
cmd-list-keys.c
cmd-list-panes.c
cmd-list-sessions.c
cmd-list-windows.c
cmd-list.c
cmd-load-buffer.c
cmd-lock-server.c
cmd-move-window.c
cmd-new-session.c
cmd-new-window.c
cmd-paste-buffer.c
cmd-pipe-pane.c
cmd-queue.c
cmd-refresh-client.c
cmd-rename-session.c
cmd-rename-window.c
cmd-resize-pane.c
cmd-respawn-pane.c
cmd-respawn-window.c
cmd-rotate-window.c
cmd-run-shell.c
cmd-save-buffer.c
cmd-select-layout.c
cmd-select-pane.c
cmd-select-window.c
cmd-send-keys.c
cmd-set-buffer.c
cmd-set-environment.c
cmd-set-hook.c
cmd-set-option.c
cmd-show-environment.c
cmd-show-messages.c
cmd-show-options.c
cmd-source-file.c
cmd-split-window.c
cmd-string.c
cmd-swap-pane.c
cmd-swap-window.c
cmd-switch-client.c
cmd-unbind-key.c
cmd-wait-for.c
cmd.c
colour.c
compat.h
configure.ac
control-notify.c
control.c
COPYING
Dockerfile
environ.c
example_tmux.conf
FAQ
format.c Fix CVE-2018-19387 2026-03-09 12:36:33 -04:00
grid-view.c
grid.c
hooks.c
input-keys.c
input.c Fix CVE-2018-19387 2026-03-09 12:36:33 -04:00
job.c
key-bindings.c
key-string.c
layout-custom.c
layout-set.c
layout.c
log.c
Makefile.am
mdoc2man.awk
mode-key.c Add history mode scroll curline to top/middle/bottom 2026-07-29 02:22:06 -04:00
names.c
notify.c
options-table.c
options.c
osdep-aix.c
osdep-cygwin.c
osdep-darwin.c
osdep-dragonfly.c
osdep-freebsd.c
osdep-hpux.c
osdep-linux.c
osdep-netbsd.c
osdep-openbsd.c
osdep-sunos.c
osdep-unknown.c
paste.c
proc.c
README
README-tmux
README.md
resize.c
screen-redraw.c
screen-write.c
screen.c
server-client.c Fix CVE-2018-19387 2026-03-09 12:36:33 -04:00
server-fn.c
server.c
session.c
signal.c
status.c
style.c
SYNCING
tmate-debug.c
tmate-decoder.c
tmate-encoder.c
tmate-env.c
tmate-msg.c
tmate-msgpack.c
tmate-protocol.h
tmate-session.c
tmate-ssh-client.c
tmate.1
tmate.h
tmux.1 Add history mode scroll curline to top/middle/bottom 2026-07-29 02:22:06 -04:00
tmux.c
tmux.h Add history mode scroll curline to top/middle/bottom 2026-07-29 02:22:06 -04:00
TODO
tty-acs.c
tty-keys.c
tty-term.c
tty.c
utf8.c
window-choose.c
window-clock.c
window-copy.c Add history mode scroll curline to top/middle/bottom 2026-07-29 02:22:06 -04:00
window-copy.h
window.c Fix CVE-2018-19387 2026-03-09 12:36:33 -04:00
xmalloc.c
xmalloc.h
xterm-keys.c

tmate

What is it?

Tmate is a fork of tmux. It provides an instant pairing solution.

License

tmate is built on top of tmux. tmux and tmate are BSD-licensed.