Repository navigation
Expand file tree
/
Copy pathhome.html
More file actions
92 lines (88 loc) · 3.09 KB
/
Copy pathhome.html
File metadata and controls
92 lines (88 loc) · 3.09 KB
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
<html>
<head>
<title>dit editor</title>
<link rel="stylesheet" type="text/css" href="dit.css"/>
</head>
<body>
<div class="title">
<img src="dit.jpg" alt="dit editor" title="dit editor"/>
</div>
<p class="intro">
A console text editor for Unix that you already know how to use.
</p>
<p class="intro">
<table class="maintable" width="100%">
<tr>
<td class="left menu" width="*">
<div>
<ul class="menu">
<li class="menu"><a class="menu" href="home.html">home</a></li><li class="menu"><a class="menu" href="screenshots.html">screenshots</a></li><li class="menu"><a class="menu" href="downloads.html">downloads & git</a></li> </ul>
</div>
</td>
<td class="middle">
<p align="center">
<img src="screenshot.png" alt="dit screenshot" title="dit screenshot"/>
</p>
<p><b>Quick reference:</b></p>
<ul>
<li>Ctrl+Q or F10 - quit</li>
<li>Ctrl+S - save</li>
<li>Ctrl+X - cut</li>
<li>Ctrl+C - copy</li>
<li>Ctrl+V - paste</li>
<li>Ctrl+Z or Ctrl+U - undo</li>
<li>Ctrl+Y - redo</li>
<li>Shift-arrows or Alt-arrows - select
<ul>
<li>NOTE! Some terminals "capture" shift-arrow movement
for other purposes (switching tabs, etc) and Dit never gets the keys,
that's why Dit also tries to support Alt-arrows. Try both and see which
one works. If Shift-arrows don't work recommend you reconfigure them
(you can do this in Konsole setting "Previous Tab" and "Next Tab" to
alt-left and alt-right, for example). RXVT-Unicode and Terminology are
some terminals that work well out-of-the-box.</li>
</ul>
<li>Ctrl+F or F3 - find. Inside Find:<br/>
<ul>
<li>Ctrl+C - toggle case sensitive</li>
<li>Ctrl+W - toggle whole word</li>
<li>Ctrl+N - next</li>
<li>Ctrl+P - previous</li>
<li>Ctrl+R - replace</li>
<li>Enter - "confirm": exit Find staying where you are</li>
<li>Esc - "cancel": exit Find returning to where you started
<ul><li>This is useful for "peeking into another part of the file": just Ctrl+F, type something to look, and then Esc to go back to where you were.</li></ul>
</li>
</ul>
</li>
<li>Ctrl+G - go to...</li>
<ul><li>...line number - Type a number to go to a line.</li></ul>
<ul><li>...tab - Type text to go to the open tab that matches that substring.</li></ul>
<li>Ctrl+B - back (to previous location, before last find, go-to-line, tab-switch, etc.)
<ul><li>You can press Ctrl+B multiple times to go back various levels.</li></ul>
</li>
<li>Tabs of open files:
<ul>
<li>Ctrl+J - previous tab</li>
<li>Ctrl+K - next tab</li>
<li>Ctrl+W - close tab</li>
</ul>
</li>
<li>Ctrl+N - word wrap paragraph</li>
<li>Ctrl+T - toggle tab mode (Tabs, 2, 3, 4 or 8 spaces - it tries to autodetect based on file contents)</li>
</ul>
<p>This documentation is incomplete... there are <a href="https://github.com/hishamhm/dit/blob/master/bindings/default">more keys</a>! Try around!</p>
<p class="footer">
</p>
</td>
<td class="right menu" width="*">
<div>
<ul class="menu">
<li class="menu"><a class="menu" href="faq.html">faq</a></li><li class="menu"><a class="menu" href="mailinglist.html">mailing list</a></li><li class="menu"><a class="menu" href="author.html">author & thanks</a></li> </ul>
</div>
</td>
</tr>
</table>
</p>
</body>
</html>