16.2.1 The Emacs Theme
The Emacs Theme, which is provided by default with GPS, defines a number of
key bindings similar to Emacs.
control-c n
- Create a title box above the current Ada subprogram
control-k
- Remove text from the cursor to the end of line
control-d
- Remove the character after the cursor
control-t
- Transpose the characters before and after the cursor
control-x control-s
- Save the current editor
control-a
- Go to the beginning of the line
control-e
- Go to the end of the line
alt-less
- Go to the beginning of the buffer
control-c control-d
- Navigate to the declaration or the body of the current entity
control-c o
- Goto from the specification to the body, and vice-versa
control-y
- Paste the current clipboard
alt-w
- Copy the current selection to the clipboard
control-w
- Cut the current selection to the clipboard
shift-control-underscore
- Undo the previous edition
control-x k
- Close the current window
control-x control-c
- Exit GPS
control-s
- Bring up the "Find/Replace" dialog
control-x 3
- Split the window horizontally
control-x 2
- Split the window vertically
control-x o
- Select the other window
control-l
- Center the cursor on the screen
alt-backspace
- Delete the previous word
alt-right
- Go to the next word
alt-left
- Go to the previous word