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
1 changed files with 10 additions and 6 deletions

View File

@ -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