[WayBack] User Manual – Joe’s Own Editor: Command Line Options
These options can also be specified in the joerc file. Local options can be set depending on the file-name extension. Programs (.c, .h or .p extension) usually have autoindent enabled. Wordwrap is enabled on other files, but rc files have it disabled.
An option is enabled when it’s given like this:
-wordwrap
An option is disabled when it’s given like this:
--wordwrap
…
[WayBack] User Manual – Joe’s Own Editor: Word wrap and formatting
If you type past the right edge of the screen in a C or PASCAL language file, the screen will scroll to the right to follow the cursor. If you type past the right edge of the screen in a normal file (one whose name doesn’t end in .c, .h or .p), JOE will automatically wrap the last word onto the next line so that you don’t have to hit Enter. This is called word-wrap mode. Word-wrap can be turned on or off with the ^T W command. JOE’s initialization file is usually set up so that this mode is automatically turned on for all non-program files. See the section below on the joerc file to change this and other defaults.
Aside for Word-wrap mode, JOE does not automatically keep paragraphs formatted like some word-processors. Instead, if you need a paragraph to be reformatted, hit ^K J. This command “fills in” the paragraph that the cursor is in, fitting as many words in a line as is possible. A paragraph, in this case, is a block of text separated above and below by a blank line.
The margins which JOE uses for paragraph formatting and word-wrap can be set with the ^T L and ^T R commands. If the left margin is set to a value other than 1, then when you start typing at the beginning of a line, the cursor will immediately jump to the left margin.
There are a number of options which control the paragraph reformatter and word wrapper:
- The cpara option provides a list of characters which can indent a paragraph. For example, in e-mail quoted matter is indicated by > at the beginnings of line, so this character should be in the cpara list.
- The cnotpara option provides a list of characters which, if they are the first non-whitespace character of a line, indicate that the line is not to be included as part of a paragraph for formatting. For example, lines beginning with ‘.’ in nroff can not be paragraph lines.
- Autoindent mode affects the formatter. If autoindent is disabled, only the first line will be indented. If autoindent is enabled, the entire paragraph is indented.
- french determines how many spaces are inserted after periods.
- When flowed is enabled, a space is inserted after each but the last line of the paragraph. This indicates that the lines belong together as a single paragraph in some programs.
- When overtype is enabled, the word wrapper will not insert lines.
Joe configuration file
Pre-configuring needs modifying the configuration file:
Read the rest of this entry »
Like this:
Like Loading...
I want to disable word wrap for all kinds of files by default, without having to type CTRL+T W each time. How can this be done (in joerc)?
I’m using v3.5.
Bart