mirror of https://github.com/cheat/cheat.git
Replace TODOs with a useful cheatsheet
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
parent
f1ab3cb013
commit
94d94d19e0
|
@ -39,14 +39,18 @@ _Message() {
|
||||||
}
|
}
|
||||||
alias M=_Message
|
alias M=_Message
|
||||||
|
|
||||||
generate_custom_cheatsheet() {
|
generate_custom_vim_cheatsheet() {
|
||||||
echo "---"
|
echo "---"
|
||||||
echo "tags: [ custom ]"
|
echo "tags: [ custom, vim ]"
|
||||||
echo "---"
|
echo "---"
|
||||||
echo "# TODO Something thoughtful"
|
echo "# Open files in a horizontal split"
|
||||||
echo "something --clever"
|
echo "vim -o file1 file2 ..."
|
||||||
echo "# TODO etc..."
|
echo "# Open files in a vertical split"
|
||||||
echo "todo --etc"
|
echo "vim -O file1 file2 ..."
|
||||||
|
echo "# Go to next buffer"
|
||||||
|
echo ":n"
|
||||||
|
echo "# Go to previous buffer"
|
||||||
|
echo -n ":N"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Print prompt but only in demo mode
|
# Print prompt but only in demo mode
|
||||||
|
|
Loading…
Reference in New Issue