NotePad - WIN

NotePad

File: /apps/notepad

Plain text editor application.

Notepad application

Menu
New Ctrl+N Create a new document.
Open Ctrl+O Open an existing file.
Save Ctrl+S Save the document to the current file if modified.
Save as
Save the document to a new file.
Print
If a range is selected, print it. If not, print the whole document.
Undo Ctrl+Z Undo the last editing action.
Redo Ctrl+Y Redo the last undo.
Cut Ctrl+X Remove the current selection and place it on the clipboard.
Copy Ctrl+C Copy the current selection to the clipboard.
Paste Ctrl+V Paste the contents of the clipboard into the document, replacing any selected range.
Sys Copy
Ctrl+Alt+C
System's copy, copy selection to clipboard in slot.
Sys Paste
Ctrl+Alt+V
System's paste, paste from clipboard in slot replacing any selection.
Find Ctrl+F Opens the Find dialog, to search the document for a text string.
Next F3 Finds the next instance of the find text without opening the find dialog.
Replace Ctrl+H Opens the Replace dialog, to replace instances of a text string with another.
Quit Ctrl+Alt+X Quit the application.

Remarks
Also supports:
Ctrl+A Select the whole document.
Shift+navigation keys Select range.
Ctrl+navigation keys Move without selecting.
Shift+Click
Select range.

The status bar shows the one based line and column position on the left, and "mod" on the right if the document is modified without saving.

In the Find dialog, Ctrl+F finds the next instance, if any.

In the Replace dialog, Ctrl+F finds the next instance, Ctrl+R replaces one and finds the next, and Ctrl+A replaces all following instances and dismisses the dialog.

The file /apps/notepad.ini contains settings for the notepad application. The only setting supported is tab, which specifies an integer for the character width of a tab. This is initially set to 2.

A file path can optionally be given as an argument on the command line of the file to open.


See also Default applications, WIN.