SPSS Keyboard Shortcuts

 

WHERE SHORTKEY USEFUL FOR
Data Editor                             CTRL + t Switch between data view and variable view.
Data Editor CTRL + / Go to first/last variable/case (depending on view). Allows for very quick case and variable count when combined with CTRL + t.
Syntax Window Shift + / Select lines of syntax above/below cursor position.
Syntax Window F2 Select Entire Command in which cursor is located.
Syntax Window CTRL + r Run selected syntax.
Any Window CTRL + Home / End Go to beginning/end of window contents.
Syntax Window CTRL + c Copy selected syntax.
Syntax Window CTRL + x Cut selected syntax.
Syntax Window CTRL + v Paste selected syntax.
Syntax Window CTRL + a Select all syntax in window.
Syntax Window CTRL + f Find expression within syntax window.
Syntax Window CTRL + h Replace expression within syntax window.
Syntax Window CTRL + z Undo last edit(s). Note: doesn’t always seem to work properly in recent SPSS versions.
Syntax Window Home / End Move to start/end of line.
Any Window Alt + tab Switch between Syntax Window, Data Editor and Viewer Windows. Actually an MS Windows shortkey for switching between applications.
Any Window Alt + F4 Close any window. You’ll usually get a pop-up window asking whether you’d like to save it if you haven’t done so yet.
Syntax Window F1 When your cursor is located anywhere in a command, help for this command can be opened by pressing F1.
Syntax Window Shift + Home / End Select from cursor through start/end of line.
Any Window CTRL + Shift + Home / End Select from cursor through beginning/end of window contents.
Syntax Window CTRL + y Redo last edit(s).
Any Window Alt + F6 Back to previous window. Handy for switching between Syntax Window and Data Editor.

Reference: https://www.spss-tutorials.com/spss-keyboard-shortcuts