blob: f507ddacd93a412a6e91c0fa6db31321204a3857 (
plain)
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
|
# Acme Scripts
This is a collection of useful scripts used by me to extend Acme Editor.
## start-acme
Starts our favorite editor. ;)
## c+
Adds a comment to the beginning of the line. By default inserts a double slash
(//) but can be changed the behaviour passing the symbol you want to use.
For example:
```
echo test line | c+
> //test line
```
or with a custom symbol:
```
echo test line | c+ "#"
> #test line
```
On Acme tag: `|c+`
## c-
Same as `c+.sh` but removes a comment from the beginning of the line. By
default removes a double slash (//) but can be changed the behaviour passing
the symbol you want to remove.
For example:
```
echo //test line | c-
> test line
```
or with a custom symbol:
```
echo "#test line" | c- "#"
> test line
```
On Acme tag: `|c-`
## clbuff
Clear the buffer. Is equivalent to do:
```
Edit ,
```
and then delete the whole selection.
On Acme tag: `clbuff`
|