Keyboard Shortcuts

Aaron U'Ren edited this page Jan 8, 2016 · 1 revision

Mouse/Keyboard Shortcuts

Global Shortcuts

  • Esc or CTRL+c - Exit peco
  • CTRL-r - Rotate filter (case sensitive, smart case, regexp, ignore case)
  • CTRL-t - Toggle query (clear query and reset results, press again to put query back and filter results)
  • CTRL-l - Refresh screen

Selection Shortcuts

  • up_arrow or CTRL-p - Move cursor up
  • right_arrow - Go to next page of results (essentially equivalent to page down)
  • down_arrow or CTRL-n - Move cursor down
  • left_arrow - Go to previous page of results (essentially equivalent to page up)
  • enter - Select line at cursor position (if none are otherwise selected), output selected lines to CLI, and exit
  • CTRL+space - Select line and move cursor down
  • CTRL+g - Clear all selections

Query Editor Shortcuts

Movement Shortcuts

  • CTRL-a - Move cursor to the beginning of the line
  • CTRL-e - Move cursor to the end of the line
  • CTRL-b - Move cursor backward one character
  • CTRL-f - Move cursor forward one character

Editing Shortcuts

  • backspace - Delete one character backward
  • CTRL-d - Delete one character forward
  • CTRL-w - Delete one word backward
  • CTRL-k - Kill query string to the end of the line
  • CTRL-u - Kill query string to the end of the line

Mouse Shortcuts

  • scrollup - Move cursor up
  • scrolldown - Move cursor down
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.