Macros

From Niki

Jump to: navigation, search

NEdit Macros

NEdit has its own built-in scripting language that has its roots in the AWK language (see its Wikipedia entry for an introduction). You can create little scripts in this language and have NEdit run them with a keystroke while you're editing. They can do all sorts of useful little tasks -- see under the Macro menu for some examples.

Macros can be saved in three ways:

  • They can be stored as little individual script files with a .nm filename extension (for nedit macro). You can then load them using File --> Load Macro File.
  • You can use a dialog box in NEdit (Preferences --> Default Settings --> Customize Menus --> Macro Menu) to create them, and NEdit stores them inside your $HOME/.nedit/nedit.rc file for you.
  • As a third option, you may "record" them using Macro --> Learn Keystrokes, letting NEdit record some action you carry out using the GUI.

For help on making your own macros, see Macro Programming.

For a catalog of various available macros, see Macro Collection.

See also: http://nedit.gmxhome.de/macros.html

Personal tools