teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
All operations that can be applied on a Buffer object.
Undo the effect of previously executed command on the current buffer
Only the effect of those commands which would have edited the buffer contents will be undo'd. For eg: the command pwd
has no effect whatsoever on the buffer contents. So, there's no undo for such commands.
Available for all modes which enable editing.
Redo the effect of previously undo'd command on the current buffer.
Available for all modes which enable editing.
Inserts a character at the current position of the cursor and moves the cursor one place to the right, or if a region is active, it will remove it first and then inserts this character.
.
implies that this command is not searchable from the editor command prompt.Deletes the character to the left of the cursor, or if a region is active, removes it instead. As a side-effect, the cursor is moved one place to the left.
.
implies that this command is not searchable from the editor command prompt.Deletes the character on the cursor, or if a region is active, removes it instead.
.
implies that this command is not searchable from the editor command prompt.Removes the rest of the line and copies it to the clipboard.
Prompts for a regex and only keeps those lines that match this regex in the whole Buffer.
Prompts for a regex and only removes those lines that match this regex in the whole Buffer.
Prompts the user for a command, executes it inside a shel and inserts the contents from its stdout
at the current cursor location.
Entirety of stdout
and stderr
can be seen in the *messages
Buffer.
Start a region from the current cursor position. The background color of the active region changes from the default in order to notify the users of the active region in the current Buffer.
Cancels the following things:
Copies the last copied (or cut) region from the internal clipboard.
Copies the currently active region's contents into the internal clipboard for a future paste-region command.
Cuts the currently active region and copies its contents into the internal clipboard for a future paste-region command.
Prompt the user for a URL and downloads the contents of that URL into the current Buffer from the current cursor location onwards.
Search for the user supplied string of chars in the current Buffer and jump to a matching location.
It starts a multi-line command prompt at the bottom of the current Buffer where the users can input the strings that they want to search for. This multi-line search bar then shows all the matching locations which can be browsed using up/down arrow keys. If the user then presses the Enter key, then the cursor jumps to that line. Press Esc key to cancel this operation.
Use the option iCaseSearch
to enable case insensitive search or not, in your rc file.
Saves the currents of the current Buffer to the filesystem. If the file is at a remote location, then it'll be stored on the filesystem of that remote machine, instead.
If there are any unsaved buffers in the current editor session, then while exiting the session, users will be prompted whether to save those buffers or note before the exit.
Prints the current working directory of the current Buffer, in the status bar below. This command does NOT modify the Buffer contents.
Switch to the next Buffer in the current sesion.
Switch to the previous Buffer in the current sesion.
Kill the current Buffer. It'll check for if it is modified and then prompts the users whether to save it to the filesystem, before killing it.
Kill all the buffers other than the current one. It'll check for if those buffers are modified and then prompts the users whether to save each of them to the filesystem, before killing it.
Reloads the Buffer contents from the filesystem. It'll check for if this buffer is modified and then prompts the users to save it to the filesystem, before reloading it.