e
This commit is contained in:
parent
a75b348b73
commit
cb0e0b4d6a
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
|
@ -74,7 +74,19 @@ To create a new file:
|
|||
um next
|
||||
```
|
||||
|
||||
This will create the file write the header:
|
||||
This will create the file, write the header, and echo the filename to stdout. In practice I pipe it into [this function](https://gist.github.com/brtholomy/1c152af3c09be4d3f916f0e19f70f47b) that calls `emacsclient`:
|
||||
|
||||
```sh
|
||||
um next | e
|
||||
```
|
||||
|
||||
Which is effectively:
|
||||
|
||||
```sh
|
||||
um next | xargs emacsclient -n
|
||||
```
|
||||
|
||||
The generated header would be:
|
||||
|
||||
```markdown
|
||||
# 01.md
|
||||
|
|
|
|||
Loading…
Reference in a new issue