Here are some demo files.
They show what I've actually done on Linux.
Open the editor
Vim 7.4
Use fugitive.vim to show git status
.
fugitive.vim
Use the same plugin to git commit
fugitive.vim commit
Use the same plugin to view the log.
fugitive.vim commit
fugitive.vim commit
Another way to commit
fugitive.vim commit short
Find the contents in a file.
grep
View the log again.
git log
Prepare the slides
vim command for the slides
vim command for the slides
Prepare the handout
vim command for the handout
vim command for the handout
Note: The items in the nested list need to be indented by 4 spaces, instead of 2.
i.e. The above screenshots are wrong, and sample.txt
on the master
branch is correct.