-
Notifications
You must be signed in to change notification settings - Fork 92
Key Bindings
Scott Kuroda edited this page Dec 20, 2013
·
3 revisions
By default, AdvancedNewFile comes with two key bindings. Additional key bindings can be defined by the user. To view the commands that can be bound to key bindings, see Commands.
-
ctrl+alt+n
- This key binding will create a prompt. Enter the path of the file to create in the prompt. The file, along with any directory structure needed, will be generated. This executes theadvanced_new_file_new
command. -
ctrl+shift+alt+n
- Similar to the previous command. However, this will also create__init__.py
files in any newly created directories. This executes theadvanced_new_file_new
command with the argumentsis_python
set totrue
.
-
super+alt+n
- This key binding will create a prompt. Enter the path of the file to create in the prompt. The file, along with any directory structure needed, will be generated. This executes theadvanced_new_file_new
command. -
super+shift+alt+n
- Similar to the previous command. However, this will also create__init__.py
files in any newly created directories. This executes theadvanced_new_file_new
command with the argumentsis_python
set totrue
.
Custom key bindings should be placed in the User key bindings. These files are platform specific and can be opened by navigating to Preferences -> Key Bindings - User
. For information on how to create key bindings, see the Unofficial Documentation. To see commands exposed by ANF, see Commands.