Skip to content
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.

Default Key Bindings

Windows

  • 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 the advanced_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 the advanced_new_file_new command with the arguments is_python set to true.

OS X and Linux

  • 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 the advanced_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 the advanced_new_file_new command with the arguments is_python set to true.

Custom Key Bindings

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.

Clone this wiki locally