Wardterm documentation

Keyboard shortcuts

The keyboard shortcuts of Wardterm on Mac and iPad: sessions, panes, terminal and view, the keys of the command line, and how to set your own keys.

See them all

Press Cmd+/ for the list of shortcuts, or open Settings, Keyboard. On iPad with a keyboard, hold Cmd to see them, and the list is in Settings, Keyboard and gestures. The menus show the keys you chose. On Windows and Linux, press Ctrl+Shift+/.

Sessions and windows

  • New tab: Cmd+T
  • Reopen closed session: Shift+Cmd+T
  • Close session: Cmd+W
  • Next session and Previous session: Shift+Cmd+] and Shift+Cmd+[
  • New window, on Mac: Shift+Cmd+N
  • New server: Cmd+N
  • New local terminal: Cmd+L

Panes

  • Split side by side: Cmd+D
  • Split top and bottom: Shift+Cmd+D
  • Focus on this pane: Shift+Cmd+Return
  • Tile all sessions: Shift+Cmd+\
  • Type to all: Shift+Cmd+I

Terminal

  • Copy, Paste and Select all: Cmd+C, Cmd+V and Cmd+A
  • Find: Cmd+F
  • Clear screen, with the lines above it: Shift+Cmd+K
  • Command history: Cmd+Y
  • Side panel: Cmd+.

View and app

  • Zoom In, Zoom out and Actual size: Cmd+=, Cmd+- and Cmd+0
  • Show or hide sidebar: Cmd+Ctrl+S
  • Command palette: Cmd+K
  • Tunnels: Cmd+P
  • Commands: Shift+Cmd+S
  • Settings: Cmd+,
  • Keyboard shortcuts: Cmd+/
  • Lock Wardterm: Shift+Cmd+L

Keys that stay the same

  • Cmd+1 to Cmd+9: go to session 1 to 9. Ctrl+Tab and Ctrl+Shift+Tab: next and previous session.
  • Option+Cmd+1 to Option+Cmd+4: layouts of the panes. Option+Cmd+arrows: the next pane.
  • Cmd+Up and Cmd+Down: the previous or next command, with shell integration.
  • Shift+Page Up and Shift+Page Down, or Cmd+Page Up and Cmd+Page Down: scroll a page. Cmd+Home and Cmd+End: the top or the bottom.
  • Ctrl+Cmd+F: full screen, on Mac.

Editing the command line

  • Option+Left and Option+Right: move by word.
  • Cmd+Left and Cmd+Right: the start or the end of the line.
  • Option+Delete: delete the word before. Option+fn+Delete: the word after.
  • Cmd+Delete: delete to the start of the line. Cmd+fn+Delete: to the end.

They send the keys the shell expects, on any server. For shortcuts like Option+B in the shell itself, turn on Option key for shell shortcuts in Settings, Keyboard.

Choose your own keys

  1. Open Settings, Keyboard. The shortcuts are listed by group, such as Sessions and windows or Terminal.
  2. Choose one and press the new keys. Hold Cmd, Control or Option with the key: a key alone types in the terminal.
  3. If the keys belong to another command, the app asks whether to use them here instead. If they also reach the shell, such as Ctrl+C or Ctrl+R, it asks first too.

Remove shortcut leaves a command without keys, Restore default brings back its keys, and Restore default shortcuts brings back all of them. Your keys are kept on this device only: each device has its own.

On Android

With a keyboard on an Android tablet, the commands use the Meta key in place of Cmd, such as Meta+T for a new tab. The keys of the command line are the usual ones of Android and Linux distributions: Ctrl+Left and Ctrl+Right move by word, Ctrl+Backspace and Ctrl+Delete delete a word, Ctrl+Shift+C and Ctrl+Shift+V copy and paste, and Ctrl+C copies when text is selected. You choose your own keys in Settings, Keyboard and gestures.

On Windows and Linux

The keys are the usual ones of terminals on Windows and Linux: Ctrl+Shift in place of Cmd, with Alt added where the Mac uses Shift. For example Ctrl+Shift+T opens a new tab, Ctrl+Shift+Alt+T reopens the last session, Ctrl+Shift+W closes one, Ctrl+Shift+D splits side by side and Ctrl+Shift+K opens the command palette. Some keys are the ones of Windows: Ctrl+=, Ctrl+- and Ctrl+0, or Ctrl and the mouse wheel, for the text size, Ctrl+, for Settings, F11 for full screen and Ctrl+Shift+S for the sidebar.

On the command line, Ctrl+Left and Ctrl+Right move by word, Home and End go to the start and the end, and Ctrl+Backspace and Ctrl+Delete delete a word. Ctrl+C copies when text is selected, Ctrl+V pastes, and Ctrl+Insert and Shift+Insert copy and paste too. To choose your own keys, hold Ctrl or Alt with the key.