| Command | Shortcut Keys | Description |
| Next Bookmark | F2 | Move to the next bookmark |
| Previous Bookmark | Shift+F2 | Move to the previous bookmark |
| Delete Word Left | Ctrl+Backspace | Delete the word to the left of the cursor |
| Delete Word Right | Ctrl+Del | Delete the word to the right of the cursor |
| Previous Word | Ctrl+Left Arrow | Move to the previous word |
| Next Word | Ctrl+Right Arrow | Move to the next word |
| Toggle Insert Mode | INS | Switch between insert and overwrite mode |
| Clear selection | Escape | Clear the selection (i.e. nothing is selected) |
| Beginning of line | Home | Move to the beginning of the current line |
| End of line | End | Move to the end of the current line |
| Beginning of file | Ctrl+Home | Move to the beginning of the current file |
| End of file | Ctrl+End | Move to the end of the current file |
| Page up | PageUp | Move to the previous page |
| Page down | PageDown | Move to the next page |
| Find next | F3 | Find the next match from last search |
| Find previous | Shift+F3 | Find the previous match from last search |
| Make top | Ctrl+T | Make the current line the top line |
| Command | Shortcut | Description |
| cd | (none) | Changes the current working directory of NitroLite.
The current directory is displayed in the status bar when the command window is active |
| edit | e | Edit a file. Wildcards are allowed. If the file is currently open, the file is activated
in the editor |
| file | f | Prints the full path of the file currently being edited to the command window.
This allows you to quickly copy the name to the clipboard and paste it into the command prompt or other applications
|
| quit | q | Quits NitroLite (prompts to save changes if needed |
| quit! | q! | Quits NitroLite without prompting to save changes.
All unsaved changes are lost! |
| pwd | (none) | Prints the current working directory to the command window so that the path
can be quickly copied to the clipboard and pasted into the command prompt or other applications
|
| help | h | Displays a small built in command reference page |
| cls | (none) | Clears the output window |
| console | (none) | Use console 1 to enable console mode. console 0 to disable.
When in console mode, [Console] is displayed in the status bar when the command window is active.
When running in console mode, the command window attempts to execute any command sequence not recognized as
an internal command (including commands not prefixed with !) as an external tool.
|
| history | hist | Displays the command history list |
| setopt | (none) | Handles displaying and setting option values. For more information see
Options |
| unsetopt | (none) | Resets the specified option to the default value. For more information see
Options |
| run | r | Runs a NitroLite script. The script can contain any NitroLite builtin commands |
| opened | o | Outputs a list of the currently open files with line numbers. Double clicking on a file
opens the file for editing |
| bookmark | bm | Toggles bookmark at the specified line. With not parameters, toggles the bookmark
at the active line |
| line | l | Makes the specified line number the active line. Note that when run from the command window
the insertion caret is not displayed until the command window is closed |
| savesession | ss | Saves a NitroLite script to the specified filename. The script will open all files
the are currently open and restores all bookmark locations.Important: The session file is always overwritten without prompt. Be careful |
| saveopts | (none) | Saves the current option settings to the registry |
| sessionfile | (none) | Internal command used by session support |
| loadengine | (none) | Loads a custom syntax coloring engine file (see NitroColor.ini for examples) |
| setengine | (none) | Treat the current file as the specified extension. Example: "setengine cpp" causes NitroLite to use the C++ coloring engine custom syntax coloring engine
for the current file. Custom extensions defined in NitroColor.ini or other custom engine files are allowed |
| sellines | sl | Selects the specified number of lines starting at the current line. Negative numbers are allowed |
| # | (none) | Comment in a NitroLite script file |
| Name | Type | Default Value | Description |
| General.TabStop | DWORD | 4 | The number of space characters per tab |
| General.ReplaceTabs | DWORD | 0 | 0=Keep tabs, 1=Replace tabs with spaces |
| General.FontName | STRING | Courier New | The font to use. NitroLite currently only supports fixed width fonts. Using variable pitch fonts will cause display problems |
| General.FontSize | DWORD | 10 | The size of the font to use in points |
| General.FontBold | DWORD | 0 | 0=Normal, 1=Bold |
| General.CheckModified | DWORD | 1 | 1=Check if files are modified outside NitroLite, 0=Don't check |
| General.ShowLineNumbers | DWORD | 0 | 1=Display line numbers in the left margin, 0=don't display line numbers |
| General.ShowWhiteSpace | DWORD | 0 | 1=Display glyphs for whitespace characters. Spaces are displayed as a little ellipse. Tabs are displayed as a double right arrow. |
| General.TextFgColor | COLOR | The default Windows window text color (based on Windows settings) | The foreground color of the font (for normal coloring) |
| General.TextBgColor | COLOR | The default Windows window text color (based on Windows settings) | The foreground color of the font (for normal coloring) |
| General.SelectionFgColor | COLOR | #ffffff | Foreground color of selected text |
| General.SelectionBgColor | COLOR | #000000 | Background color of selected text |
| General.CaretWidth | DWORD | 2 | The width of the input caret (cursor) in pixels |
| General.LeftMargin | DWORD | 20 | The width of the left margin in pixels. The margin is used to display bookmarks and other information |
| General.LeftMarginColor | COLOR | The default Windows scrollbar color (based on Windows settings) | The color of the left margin |
| General.BookmarkColor | COLOR | #00ffff | The backrgound color of the bookmark display glyph |
| General.LineNumFgColor | COLOR | Same as TextFgColor | The foreground color of the line number display |
| General.LineNumBgColor | COLOR | Save as TextBgColor | The foreground color of the line number display |
| General.FileTypes | STRING | See FileTypes below | See FileTypes below |
| General.QuickOpenPath | STRING | See QuickOpen below | See QuickOpen below |
| General.ColumnGuide | DWORD | 0 | The number of characters at which to display the column wrap guide. 0=Disable |
| CPP.CommentFgColor | COLOR | #007F00 | C/C++ comment foreground color |
| CPP.CommentBgColor | COLOR | Same as General.TextBgColor | C/C++ comment background color |
| CPP.SingleLineCommentFgColor | COLOR | #007F00 | C/C++ single line comment foreground color |
| CPP.SingleLineCommentBgColor | COLOR | Same as General.TextBgColor | C/C++ single comment background color |
| CPP.KeywordFgColor | COLOR | #0000ff | C/C++ keyword foreground color |
| CPP.KeywordBgColor | COLOR | Same as General.TextBgColor | C/C++ keyword foreground color |
| CPP.StringFgColor | COLOR | #ff0000 | C/C++ literal string foreground color |
| CPP.StringBgColor | COLOR | Same as General.TextBgColor | C/C++ literal string background color |
| CPP.NumberFgColor | COLOR | #7f0000 | C/C++ constant number foreground color |
| CPP.NumberBgColor | COLOR | Same as General.TextBgColor | C/C++ constant number background color |
| Html.TagFgColor | COLOR | #0000ff | HTML/XML tag foreground color |
| Html.TagBgColor | COLOR | Same as General.TextBgColor | HTML/XML tag background color |
| Html.AttrFgColor | COLOR | #7f007f | HTML/XML attribute foreground color |
| Html.AttrBgColor | COLOR | Same as General.TextBgColor | HTML/XML attribute background color |
| Html.AttrValueFgColor | COLOR | #ff00ff | HTML/XML attribute value foreground color |
| Html.AttrValueBgColor | COLOR | Same as General.TextBgColor | HTML/XML attribute value background color |
| Html.StringFgColor | COLOR | #ff0000 | HTML/XML string foreground color |
| Html.StringBgColor | COLOR | Same as General.TextBgColor | HTML/XML string background color |
| Html.CommentFgColor | COLOR | C/C++ keyword foreground color | HTML/XML comment foreground color |
| Html.CommentBgColor | COLOR | Same as General.TextBgColor | HTML/XML comment background color |