Replace TODOs with a useful cheatsheet

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
Haris Gušić 2021-11-02 17:48:59 +01:00
parent f1ab3cb013
commit 94d94d19e0

View File

@ -39,14 +39,18 @@ _Message() {
}
alias M=_Message
generate_custom_cheatsheet() {
generate_custom_vim_cheatsheet() {
echo "---"
echo "tags: [ custom ]"
echo "tags: [ custom, vim ]"
echo "---"
echo "# TODO Something thoughtful"
echo "something --clever"
echo "# TODO etc..."
echo "todo --etc"
echo "# Open files in a horizontal split"
echo "vim -o file1 file2 ..."
echo "# Open files in a vertical split"
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