Data Editor Keyboard Shortcuts

The following keyboard shortcuts work for 'Data Editor' and 'Variable View'.

Table 1. File Commands
Action Window and Linux MacOs
Start a new file. Ctrl+N Command+N
Open an existing file. Ctrl+O Command+O
Save the active data set to a file. Ctrl+S Command+S
Print the active file. Ctrl+P Command+P
Stops the processor Ctrl+. Command+.
Table 2. Browsing Commands
Action Windows and Linux MacOS
Next variable (right) Tab; Right arrow Tab; Right arrow
Previous variable (left) Shift+Tab; Left arrow Shift+Tab; Left arrow
Next case (down) Enter; Down arrow Enter; Down arrow
Previous case (up) Up arrow Up arrow
First variable Ctrl+Left arrow Control+Left arrow
Last variable Ctrl+Right arrow Control+Right arrow
First case Ctrl+Up arrow Control+Up arrow
Last case Ctrl+Down arrow Control+Down arrow
First variable, first case Ctrl+Home Control+Home
Last variable, last case Ctrl+End Control+End
Scroll down/up a page Page Down/Page Up Page Down/Page Up
Table 3. Selection Commands
Action Windows and Linux MacOS
Select current case (row) Shift+Spacebar Shift+Spacebar
Select current variable (column) Ctrl+Spacebar Control+Spacebar
Select current cell and cell to left Shift+Left arrow Shift+Left arrow
Select current cell and cell to right Shift+Right arrow Shift+Right arrow
Select current cell and cell above Shift+Up arrow Shift+Up arrow
Select current cell and cell below Shift+Down arrow Shift+Down arrow
Table 4. Editing Commands
Action Windows and Linux MacOS
Copy selection Ctrl+C Command+C
Cut selection Ctrl+X Command+X
Paste selection Ctrl+V Command+V
Delete selection Delete Delete
Undo an action in a previously edited cell Ctrl+Z Command+Z
Redo an action in a previously edited cell Ctrl+Y Command+Y
Find data within a variable Ctrl+F Command+F
Increase font size Press Ctrl and + Press Command and +
Decrease font size Press Ctrl and - Press Command and -
Table 5. In Edit mode:
Action Press
Edit contents of current cell (Enter Edit mode) F2
Finish editing cell contents (Exit Edit mode) Enter
Next/previous character Right arrow or Left arrow
Extend selection Shift+Right arrow or Shift+Left arrow
Next cell (right); Exit Edit mode Tab
Previous cell (left); Exit Edit mode Shift+Tab
Move to start of value Home
Move to end of value End
Select to start of value Shift+Home
Select to end of value Shift+End
Restore cell contents Esc
Table 6. In Variable view:
Action Windows and Linux MacOS
Switch between Data/Variable view Ctrl+T Command+T
Activate Variable Type, Value Labels, and Missing Values dialog boxes, when in the Type, Values, and Missing columns, respectively. Spacebar Spacebar
Activate drop-down lists for Align and Measure columns. Alt+Down arrow Alt+Down arrow