~mirabilos/jupp/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
$MirOS: contrib/code/jupp/LIST,v 1.14 2018/02/01 02:33:43 tg Exp $
------------------------------------------------------------------

Joe commands grouped by function

Background programs
-------------------
bknd		Run a shell in a window
killproc	Kill program in current window
run		Run a unix command in a window

Blocks
------
blkcpy		Copy marked block to cursor
blkdel		Delete marked block
blkmove		Move marked block to cursor
blksave		Save marked block into a file
copy		Copy block to kill-ring
drop		Set markb.  If it was already set, eliminate it.

toggle_marking	If we're in a block: clear markb and markk.
		If marking is off: set markb and turn on marking.
		If marking is on: set markk (swap if necessary with markb)
		and turn marking off.

begin_marking	If we're on an edge of a block: set markb to other edge and
		turn on marking mode.  Otherwise set markb to cursor and
		turn on marking mode.

select		Set markb.  If it was already set, do nothing.
filt		Filter block or file through a unix command
markb		Set beginning of block mark
markk		Set end of block mark
markl		Mark current line
nmark		Eliminate markb and markk
picokill	Delete line or block
pop		Restore markb and markk values from stack
psh		Push markb and markk values onto a stack
swap		Switch cursor with markb
tomarkb		Move cursor to markb
tomarkbk	Move cursor to markb or markk
tomarkk		Move cursor to markk
yank		Insert top of kill ring
yankpop		Scroll through kill ring
yapp		Append next kill to top of kill ring
upper		Convert everything in block to uppercase
lower		Convert everything in block to lowercase

Buffers
-------
bufed		Buffer menu
edit		Load file into window: asks to reload if buffer exists
switch		Load file into window: always uses buffer if it exists
scratch		Load a scratch buffer into current window
nbuf		Load next buffer into current window
pbuf		Load previous buffer into current window

Cursor Motion
-------------
bof		Move cursor to beginning of file
bol		Move cursor to beginning of line (always)
bop		Move to beginning of a paragraph
bos		Move to beginning of screen
bkwdc		Search backwards for a character
byte		Move cursor to specific byte offset into the file.
col		Move cursor to specific column number.
dnarw		Move cursor down one line
eof		Move cursor to end of file
eol		Move cursor to end of line
eop		Move cursor to end of paragraph
fwrdc		Search forward for matching character
gomark		Move cursor to a bookmark
home		Move cursor to beginning of line ("smart")
line		Move cursor to specified line
ltarw		Move cursor left
nedge		Move cursor to next edge
nextpos		Move cursor to next position in cursor position history
nextword	Move cursor to end of next word
pedge		Move cursor to previous edge
prevpos		Move cursor to previous position in cursor position history
prevword	Move cursor to beginning of previous word
rtarw		Move cursor right
rvmatch		Move cursor to matching delimiter, ambiguous to the left
setmark		Set a bookmark
tomatch		Move cursor to matching delimiter
tos		Move cursor to top of screen
uparw		Move cursor up

Deletion
--------
backs		Backspace
backw		Backspace a word
delbol		Delete to beginning of line
delch		Delete character under cursor
deleol		Delete to end of line
dellin		Delete entire line
delw		Delete word to right

Error parsing
-------------
nxterr		Goto next parsed error
parserr		Parse errors in current file
prverr		Go to previous parsed error

Exit
----
cancel		Like abort, but doesn't return failure: useful in macros
		to escape out of a prompt.

abort		Abort current buffer/window.  Prompt if it is changed.

abortbuf	Like above, but just fail if it would have to prompt because
		it's the last window on a modified buffer.

ask		Prompt to save current file: user says yes return, user says
		no: run 'abort'.  Use in a macro: "ask,query,exsave"

exsave		Save file and exit

lose		emacs kill buffer.  The buffer is deleted- any windows with
		it get a replacement scratch buffer.

querysave	Prompt to save each modified buffer
		Use in a macro: "querysave,query,killjoe"

killjoe		Exit joe immediately without checking for modified buffers
abendjoe	Same, but with errorlevel 1

Files
-----
save		Save file
insf		Insert a file

Formatting
----------
center		Center line
fmtblk		Format all paragraphs in a block
format		Format current paragraph
lindent		Indent to the left
rindent		Indent to the right

Help
----
help		Turn help on or off
helpcard	Turn help on at selected screen
hnext		Switch to next help screen
hprev		Switch to previous help screen

Inserting
---------
ctrl		Type next key
finish		Complete word in text window
insc		Insert a space
open		Insert newline
quote		Insert a control character
quote8		Insert a meta character
rtn		Return key
type		Insert typed character

Macros
------
macros		Insert keyboard macros into current file
play		Execute a macro
query		Macro query
record		Record a macro
stop		Stop recording macro

Menu
----
backsmenu	Undo in file completion menu
bofmenu		Move to beginning of menu
bolmenu		Move to beginning of line in a menu
dnarwmenu	Move down one line in a menu
eolmenu		Move cursor to end of line in a menu
eofmenu		Move cursor to end of menu
ltarwmenu	Move cursor left in a menu
rtarwmenu	Move cursor right in menu
uparwmenu	Move cursor up in menu

Misc
----
beep		Beep
execmd		Execute a joe command
keymap		Switch keymap
math		Calculator
mathins		Insert last math expression
mathres		Insert last math result
mode		Mode prompt
msg		Display a message (clear message if empty)
nop		Do nothing
notmod		Clear the modified flag
retype		Refresh screen
shell		Suspend process or execute a sub-shell
stat		Display cursor position
sync		Call sync(2)
tag		Tags file search
txt		Insert text

Prompts
-------
complete	Complete a file-name in a prompt

Repeat
------
arg		Prompt for repeat argument
uarg		Universal argument

Scrolling
---------
crawll		Pan screen left
crawlr		Pan screen right
dnslide		Scroll screen down 1 line
pgdn		Scroll screen down
pgup		Scroll screen up
upslide		Scroll up one line

Search and replace
------------------
ffirst		Find text
fnext		Repeat previous search
isrch		Incremental search forward
qrepl		Search and replace
rfirst		Search backwards for text
rsrch		Reverse incremental search

Windows
-------
explode		Display one window or display all windows
dupw		Duplicate current window
groww		Increase size of window
nextw		Move cursor to next window
prevw		Go to previous window
shrinkw		Shrink window
splitw		Split window into two
tw0		Eliminate this window
tw1		Show only one window

Undo
----
redo		Re-execute the latest undone change
undo		Undo last change