Skip to content

Commit

Permalink
mode/document: Bind common zoom keybindings to all keyschemes.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed May 27, 2024
1 parent 489226a commit bc11600
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/mode/document.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ Important pieces of functionality are:
"M-." 'headings-panel
"M-{" 'previous-heading
"M-}" 'next-heading
"C-p" 'print-buffer)
"C-p" 'print-buffer
"C-+" 'zoom-page
"C-=" 'zoom-page ; Because + shifted = on QWERTY.
"C-button4" 'zoom-page
"C-hyphen" 'unzoom-page
"C-button5" 'unzoom-page
"C-0" 'reset-page-zoom)
keyscheme:cua
(list
"C-h" 'jump-to-heading
Expand All @@ -59,12 +65,6 @@ Important pieces of functionality are:
"C-a" 'select-all
"C-z" 'undo
"C-Z" 'redo
"C-+" 'zoom-page
"C-=" 'zoom-page ; Because + shifted = on QWERTY.
"C-button4" 'zoom-page
"C-hyphen" 'unzoom-page
"C-button5" 'unzoom-page
"C-0" 'reset-page-zoom
"C-down" 'scroll-to-bottom
"C-up" 'scroll-to-top
;; Leave SPACE, END, HOME and arrow keys unbound for the renderer
Expand Down

0 comments on commit bc11600

Please sign in to comment.