mirror of https://github.com/cheat/cheat.git
Minor cheatsheet edits.
This commit is contained in:
parent
df34774a7a
commit
208dd24a0c
|
@ -2,7 +2,7 @@
|
||||||
bzip2 -z foo
|
bzip2 -z foo
|
||||||
|
|
||||||
# decompress foo.bz2 -> foo
|
# decompress foo.bz2 -> foo
|
||||||
bzip2 -d foo.bz2
|
bzip2 -d foo.bz2
|
||||||
|
|
||||||
# compress foo to stdout
|
# compress foo to stdout
|
||||||
bzip2 -zc foo > foo.bz2
|
bzip2 -zc foo > foo.bz2
|
||||||
|
|
|
@ -23,4 +23,4 @@ diff -s version1 version2
|
||||||
diff <(command1) <(command2)
|
diff <(command1) <(command2)
|
||||||
|
|
||||||
# Generate a patch file from two files
|
# Generate a patch file from two files
|
||||||
diff -Naur version1 version2 > version.patch
|
diff -Naur version1 version2 > version.patch
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
# Other stuff
|
# Other stuff
|
||||||
|
|
||||||
Open a shell ALT-x shell
|
Open a shell ALT-x eshell
|
||||||
Goto a line number ALT-x goto-line
|
Goto a line number ALT-x goto-line
|
||||||
Word wrap ALT-x toggle-word-wrap
|
Word wrap ALT-x toggle-word-wrap
|
||||||
Spell checking ALT-x flyspell-mode
|
Spell checking ALT-x flyspell-mode
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
Begin org-mode ALT-x org-mode
|
Begin org-mode ALT-x org-mode
|
||||||
Save CTRL-x CTRL-s
|
Save CTRL-x CTRL-s
|
||||||
Export in other file formats (eg HTML,PDF) CTRL-c CTRL-e
|
Export in other file formats (eg HTML,PDF) CTRL-c CTRL-e
|
||||||
|
|
||||||
# Outline
|
# Outline
|
||||||
|
|
||||||
Section heading *
|
Section heading *
|
||||||
New headline ALT-return
|
New headline ALT-return
|
||||||
Move headline up or down ALT-up_arrow/down_arrow
|
Move headline up or down ALT-up_arrow/down_arrow
|
||||||
Adjust indent depth of headline ALT-left_arrow/right_arrow
|
Adjust indent depth of headline ALT-left_arrow/right_arrow
|
||||||
Open/collapse section TAB
|
Open/collapse section TAB
|
||||||
Open/collapse All CTRL-TAB
|
Open/collapse All CTRL-TAB
|
||||||
|
|
||||||
# To-Do Lists
|
# To-Do Lists
|
||||||
|
|
||||||
Mark list item as TODO ** TODO
|
Mark list item as TODO ** TODO
|
||||||
Cycle through workflow SHIFT-left_arrow/right_arrow
|
Cycle through workflow SHIFT-left_arrow/right_arrow
|
||||||
Show only outstanding TODO items CTRL-c CTRL-v
|
Show only outstanding TODO items CTRL-c CTRL-v
|
||||||
|
|
||||||
# Tables
|
# Tables
|
||||||
|
|
||||||
Table column separator Vertical/pipe character
|
Table column separator Vertical/pipe character
|
||||||
Reorganize table TAB
|
Reorganize table TAB
|
||||||
Move column ALT-left_arrow/right_arrow
|
Move column ALT-left_arrow/right_arrow
|
||||||
Move row ALT-up_arrow/down_arrow
|
Move row ALT-up_arrow/down_arrow
|
||||||
|
|
||||||
# Styles
|
# Styles
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
# Heading
|
# Heading
|
||||||
|
|
||||||
Header -*- mode: org -*-
|
Header -*- mode: org -*-
|
||||||
|
|
||||||
# .emacs
|
# .emacs
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,3 @@ xmlto -m ulink.xsl pdf mydoc.xml
|
||||||
|
|
||||||
# use non-default xsl
|
# use non-default xsl
|
||||||
xmlto -x mystylesheet.xsl pdf mydoc.xml
|
xmlto -x mystylesheet.xsl pdf mydoc.xml
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue