Skip to content

Instantly share code, notes, and snippets.

@msaidf
Forked from shreyasrk/dvtm-cheat-sheet
Created August 12, 2017 06:27
Show Gist options
  • Select an option

  • Save msaidf/9b0a5401db5cf210b880a3ce993aa1d2 to your computer and use it in GitHub Desktop.

Select an option

Save msaidf/9b0a5401db5cf210b880a3ce993aa1d2 to your computer and use it in GitHub Desktop.
dvtm cheat sheet
`dvtm` is one simple, easy-to-use terminal multiplexer.
Commonly used Options:
-v prints version information to standard output, then exits.
-m <mod> set default modifier at runtime.
-d escdelay set the delay ncurses waits before deciding if a character that
might be part of an escape sequence is actually part of an
escape sequence.
-h nnn set the scrollback history buffer size at runtime.
-s status-fifo if status-fifo is a named pipe it’s content is read and
displayed. See the dvtm-status script for an usage example.
[cmd...] Execute cmd after dvtm is started.
KeyBoard Shortcuts:
Mod Each keybinding begins with Mod which defaults to ^g(Ctrl+g) but can be
changed in config.h or with the -m command line option.
Mod-c Create a new shell window.
Mod-x Close focused window.
Mod-l Increases the master area width about 5% (all except grid and fullscreen layout).
Mod-h Decreases the master area width about 5% (all except grid and fullscreen layout).
Mod-j Focus next window.
Mod-k Focus previous window.
Mod-[1..n] Focus the nth window.
Mod-. Toggle minimization of current window.
Mod-u Focus next non minimized window.
Mod-i Focus prev non minimized window.
Mod-m Maximize current window (change to fullscreen layout).
Mod-PageUp Scroll up.
Mod-PageDown Scroll down.
Mod-Space Toggle between defined layouts (affects all windows).
Mod-Enter Zooms/cycles current window to/from master area.
Mod-t Change to vertical stack tiling layout.
Mod-b Change to bottom stack tiling layout.
Mod-g Change to grid layout.
Mod-s Shows/hides the status bar.
Mod-r Redraw whole screen.
Mod-G Escape the next typed key.
Mod-a Toggle keyboard multiplexing mode, if activated keypresses are
sent to all non minimized windows.
Mod-X Lock screen.
Mod-B Toggle bell (off by default).
Mod-M Toggle dvtm mouse grabbing.
Mod-q Quit dvtm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment