📄 settings.gml
字号:
via the
.keyref statusstring
.np
&guionly.
.enddescr
.setcmd *parm=str statusstring
.setsyntx
.begdescr
This controls what is displayed in the status window. Any characters
may be in this string. Additionally, the dollar sign ('$') is a special
character. It is used in combination with other characters to represent
special values:
:UL.
:LI.$<.n>.C
current column number. If <.n>. is specified (a number), then the column
number will be padded with spaces so that the it occupies <.n>. characters.
:LI.$D
current date
:LI.$H
current hint text from menus or toolbar (GUI editors only)
:LI.$<.n>.L
current line number. If <.n>. is specified (a number), then the line
number will be padded with spaces so that the it occupies <.n>. characters.
:LI.$M
current mode the editor is in
:LI.$T
current time
:LI.$n
skip to next line in status window (character mode editors only)
:LI.$$
replaced with a '$'
:LI.$c
replaced with a comma ','
:LI.$[
skip to next block in the status window (GUI editors only)
:LI.$|
text will be centered (within current block for GUI editors)
:LI.$>.
text will be right-justified (within current block for GUI editors)
:LI.$<.
text will be left-justified (within current block for GUI editors)
:eUL.
A number may precede the L or the C, to indicate the amount of
space that the string should occupy; for example,
$6L will cause the line number to always occupy at least 6 spaces.
.np
The string may be surrounded by quotes if spaces are being used.
The default status string setting for character mode editors is:
.millust begin
set statusstring="L:$6L$nC:$6C"
.millust end
For GUI editors, the default status string setting is:
.millust begin
set statusstring = "Ln:$5L$[Col:$3C$[Mode: $M$[$|$T$[$H"
.millust end
.enddescr
.setcmd *parm=string shellprompt
.setsyntx
.begdescr
This setting controls what the prompt at the command line will be
after using the
.keyref shell
command.
.enddescr
.setcmd *parm=nsp tabamount
.setsyntx
.begdescr
Sets the number of spaces inserted when the tab key is pressed in
a text insertion mode. If
.keyref realtabs 1
is set, these spaces will be changed into tabs, based on the setting of
.keyref hardtab
:period.
.enddescr
.setcmd *parm=fname tagfilename
.setsyntx
.begdescr
This defines the file name that &edvi is to use to locate tags
in. The default is the name
.us tags
:period.
.enddescr
.setcmd *parm=dir tmpdir
.setsyntx
.begdescr
This is used to specify the directory where all temporary editor files
are to be created.
.np
This option can only be set during editor initialization.
.enddescr
.setcmd *parm=str word
.setsyntx
.begdescr
This defines the word used by &edvi.
:period.
&cmd_parm is a group of character pairs.
Each pair defines a range; e.g. 09az defines the characters 0 through 9
and a thorough z.
Any character in
the ranges defined by
&cmd_parm is considered part of a word.
.np
The default for &cmd_long is "__09AZaz".
.np
The word will be delimited by
white space (spaces or tabs) and all characters not in the ranges
defined by &cmd_parm.
:period.
.enddescr
.setcmd *parm=margin wrapmargin
.setsyntx
.begdescr
If &cmd_long is set to a non-zero value, then word wrapping is enabled.
As text is entered, the position of the cursor is monitored. Once the
cursor gets within &cmd_parm characters of the right margin, the current
word is moved to a new line.
.enddescr
.*
.fnlist end
.*
.beglevel
.* ******************************************************************
.section 'Mouse Control Values'
.* ******************************************************************
.np
The section contains descriptions of the non-boolean settings affecting the mouse.
.*
.fnlist begin 'Non-Boolean Mouse Settings'
.*
.setcmd *parm=ticks mousedclickspeed
.setsyntx
.begdescr
Sets the number of ticks between the first mouse button depress and
the second mouse button depress for the action to count as a double-click.
A tick is approximately 1/18 of a second.
.np
&charonly.
.enddescr
.setcmd *parm=ticks mouserepeatdelay
.setsyntx
.begdescr
Sets the number of ticks between when a mouse button is depressed and
when the button starts to "repeat".
A tick is approximately 1/18 of a second.
.np
&charonly.
.enddescr
.setcmd *parm=speed mousespeed
.setsyntx
.begdescr
Sets the speed of the mouse. &cmd_parm may be in the range 0-31
(0 is the fastest, 31 is the slowest).
.np
&charonly.
.enddescr
.setcmd *parm=str wordalt
.setsyntx
.begdescr
This defines the alternate word used when double clicking the mouse.
&cmd_parm is defined in the same fashion as for the
.keyref word
setting.
.np
The default for &cmd_long is "::..\\__09AZaz".
.enddescr
.*
.fnlist end
.* ******************************************************************
.section 'Window Control Values'
.* ******************************************************************
.np
The section contains descriptions of the non-boolean settings affecting windows.
.*
.*
.fnlist begin 'Non-Boolean Window Settings'
.*
.setcmd *parm=height buttonheight
.setsyntx
.begdescr
Sets the height (in pixels) of the tools on the toolbar.
.np
&guionly.
.enddescr
.setcmd *parm=width buttonwidth
.setsyntx
.begdescr
Sets the width (in pixels) of the tools on the toolbar.
.np
&guionly.
.enddescr
.setcmd *parm=x clockx
.setsyntx
.begdescr
Sets the x-coordinate of where the clock is to be displayed, if
.keyref clock
is enabled.
.np
&charonly.
.enddescr
.setcmd *parm=y clocky
.setsyntx
.begdescr
Sets the y-coordinate of where the clock is to be displayed, if
.keyref clock
is enabled.
.np
&charonly.
.enddescr
.setcmd *parm=col currentstatuscolumn
.setsyntx
.begdescr
Controls which column current status information is displayed in on the
the menu bar, if
.keyref currentstatus 1
is enabled.
.np
&charonly.
.enddescr
.setcmd *parm=ticks cursorblinkrate
.setsyntx
.begdescr
Controls the speed at which the cursor blinks at.
.np
&guionly.
.enddescr
.setcmd *parm=str gadgetstring
.setsyntx
.begdescr
This string controls the characters that are used to draw the gadgets
on the border. The characters in the string are used as follows:
:OL compact.
:LI.top left corner of edit window
:LI.top right corner of edit window
:LI.bottom left corner of edit window
:LI.bottom right corner of edit window
:LI.left side of edit window
:LI.top and bottom of edit window
:LI.left side of file name on top of border of edit window
:LI.right side of file name on top of border of edit window
:LI.cursor up gadget on scroll bar
:LI.cursor down gadget on scroll bar
:LI.right side of edit window (scroll bar area)
:LI.scroll thumb
:eOL.
.np
&charonly.
.enddescr
.setcmd *parm=clr inactivewindowcolor
.setsyntx
.begdescr
Sets the foreground color of an edit window border when it is inactive
(not the current edit window). &cmd_parm may be 0-15, or one of
the previously defined color keywords.
.np
&charonly.
.enddescr
.setcmd *parm=n maxtilecolors
.setsyntx
.begdescr
Controls the number of tile colors for tiled windows (when using the
.keyref tile
command).
.np
&charonly.
.enddescr
.setcmd *parm=x maxwindowtilex
.setsyntx
.begdescr
Defines the maximum number of windows that may be tiled together
in the x direction when using the
.keyref tile
command.
.np
&charonly.
.enddescr
.setcmd *parm=y maxwindowtiley
.setsyntx
.begdescr
Defines the maximum number of windows that may be tiled together
in the y direction when using the
.keyref tile
command.
.np
&charonly.
.enddescr
.setcmd *parm=attr movecolor
.setsyntx
.begdescr
Controls the color attributes of an edit window border when the
window is being moved (either by using the mouse or by
using the
.keyref movewin
command).
The attribute is composed of a foreground and a background color,
(16 * background + foreground gives &cmd_parm.).
.np
&charonly.
.enddescr
.setcmd *parm=attr resizecolor
.setsyntx
.begdescr
Controls the color attributes of an edit window border when the
window is being resized (either by using the mouse or by
using the
.keyref resize
command).
The attribute is composed of a foreground and a background color,
(16 * background + foreground gives &cmd_parm.).
.np
&charonly.
.enddescr
.setcmd *parm=x spinx
.setsyntx
.begdescr
Sets the x-coordinate of where the busy spinner is displayed, if
.keyref spinning
is enabled.
.np
&charonly.
.enddescr
.setcmd *parm=y spiny
.setsyntx
.begdescr
Sets the y-coordinate of where the busy spinner is displayed, if
.keyref spinning
is enabled.
.np
&charonly.
.enddescr
.setcmd *parm='n fg bg' tilecolor
.setsyntx
.begdescr
Sets tile area
.param <.n>.
to have the foreground color
.param <.fg>.
and the background color
.param <.bg>.
:period.
.np
The tile area
.param <.n>.
must be in the range 1 to
.keyref maxtilecolors
:period.
.np
The colors may be in the range 0-15, or one of
the previously defined color keywords.
.np
&charonly.
.enddescr
.*
.fnlist end
.*
.endlevel
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -