Skip to content

Instantly share code, notes, and snippets.

@monolithed
Created December 20, 2013 08:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save monolithed/8051896 to your computer and use it in GitHub Desktop.
Save monolithed/8051896 to your computer and use it in GitHub Desktop.
[-] generic bindings
View switching
'm' view-main Show main view
'd' view-diff Show diff view
'l' view-log Show log view
't' view-tree Show tree view
'f' view-blob Show blob view
'B' view-blame Show blame view
'H' view-branch Show branch view
'h' view-help Show help page
'p' view-pager Show pager view
'S' view-status Show status view
'c' view-stage Show stage view
View manipulation
Enter enter Enter current line and scroll
Down, '^N' next Move to next
Up, '^P' previous Move to previous
',' parent Move to parent
Tab view-next Move focus to next view
'R', F5 refresh Reload and refresh
'O' maximize Maximize the current view
'q' view-close Close the current view
'Q' quit Close all views and quit
View specific requests
'u' status-update Update file status
'!' status-revert Revert file changes
'M' status-merge Merge file using external tool
'@' stage-next Find next chunk to stage
'[' diff-context-down Decrease the diff context
']' diff-context-up Increase the diff context
Cursor navigation
'k' move-up Move cursor one line up
'j' move-down Move cursor one line down
PageDown, '^D', Space move-page-down Move cursor one page down
PageUp, '^U', 'b', '-' move-page-up Move cursor one page up
Home move-first-line Move cursor to first line
End move-last-line Move cursor to last line
Scrolling
'|' scroll-first-col Scroll to the first line columns
Left scroll-left Scroll two columns left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment