My NEdit configuration
Here are a couple of useful tips for people using NEdit.
1. Vertical selection
You can select columns using the mouse by pressing the Ctrl button!
2. Commenting/Uncommenting shortcuts
Go to "Preferences / Default Settings / Customize Menus / Macro Menu...", choose your comment style and type your shortcut in the field called Accelerator.
Do not forget to save your changes through "Preferences / Save Defaults...".
3. Syntax highlighting (Root, Geant4, MCNP)
Here's my NEdit config file with customized highlighting for ROOT, GEANT4, MCNP and BST files (BibTeX STyle).
This should be copied as "~/.nedit" under Linux systems, or as "~/.nedit/nedit.rc" under Windows/Cygwin.
To add new features, go to "Preferences / Default Settings / Syntax Highlighting / Recognition Patterns..."
Select your language in "Language Mode": root_geant4 or mcnp, and look for
- ROOT/GEANT4 types/keywords if you have chosen root_geant4,
- keywords if you have chosen mcnp.
In order the highlighting starts automatically, you should add the new extensions to which it refers in
"Preferences / Default Settings / Language Modes...".
Do not forget to save your changes through "Preferences / Save Defaults...".
Enjoy!
>> nedit_config
PS: All the available colors can be found here