File: elvis.x11

package info (click to toggle)
elvis 2.1i-3
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 4,120 kB
  • ctags: 5,838
  • sloc: ansic: 53,854; sh: 811; makefile: 263
file content (70 lines) | stat: -rw-r--r-- 2,624 bytes parent folder | download
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
" DEFAULT CONFIGURATION FOR THE "X11" USER INTERFACE
color e darkgreen
color i saddlebrown
color u navyblue
color f #803
gui Quit:q
gui Quit?!modified
gui Quit"Close this window, and maybe exit elvis
gui Edit;"File to load:" (file) f = filename
gui Edit:e (f)
gui Edit"Open a file in this window
gui Split;"File to load:" (file) f = filename
gui Split:sp (f)
gui Split"Open a file in a new window
gui Save:w
gui Save?modified && edited && !readonly
gui Save"Write this buffer out to its file
gui Save as;"File to write:"(file)f=dirfile(filename);="The default is in the current directory!"
gui Save as:w (f)
gui Save as"Write this buffer out to a different file
gui Reload:e!%
gui Reload"Re-read this file, discarding all changes
gui Reload;="Are you sure you want to do this?"
gui gap
gui Prev:N
gui Prev?!modified && current("previous")
gui Prev"Switch to the previous file in the args list
gui Next:n
gui Next?!modified && current("next")
gui Next"Switch to the next file in the args list
gui Alt:e#
gui Alt?!modified && previousfile
gui Alt"Switch to the alternate file
gui Back:pop
gui Back?current("tagstack")
gui Back"Return to previous position via the tagstack
gui gap
gui Make:make
gui Make?!modified
gui Make"Compile the program, and collect error messages
gui Err:errlist
gui Err?buffer("Elvis error list")
gui Err"Move to the next error
gui Search;"plain text to find"s;"direction"(oneof forward backward)d=(d=="backward")?"backward":"forward";ignorecase;wrapscan
gui Search:eval (d=="backward"?"?":"/")(quote((magic?".*/[^$":"/^$"),s))
gui Search"Search for plain text -- not a regular expression
gui gap
gui Normal:no
gui Normal=display=="normal"
gui Normal"Select the normal display mode
gui Hex:dis hex
gui Hex=display=="hex"
gui Hex"Select the hex display mode
gui Syntax:dis syntax
gui Syntax=display<<6=="syntax"
gui Syntax"Select the syntax display mode (syntax-coloring)
gui Other:eval dis (bufdisplay)
gui Other=display!="normal" && display!="hex" && display<<6!="syntax"
gui Other?bufdisplay!="normal" && bufdisplay!="hex" && bufdisplay<<6!="syntax"
gui Other"Select the appropriate text-formatting display mode
gui Display Options;"display"(oneof normal hex syntax HTML man tex)d=(display=="html"?"HTML":display);wrap;sidescroll;list;showmarkups;number;tabstop;showmatch;nonascii
gui Display Options:eval dis (tolower(d))
gui Display Options"Configure the display options
gui gap
gui XV:w !xv -
gui XV"Send this buffer to the XV image viewer
gui Man:sp !man \@| col -b
gui Man"Create a new window, showing the man-page for this word
gui Help:help
gui Help"Create a new window, showing elvis' manual