🔥 Agent quick tip: Review changes in vim.
- Pipe your
git diffinto vim withvimreview. - Add your review comments in the comfort of your favorite editor as basic # comments.
:wqand paste into your agent session.
Get it:
$ brew install moreutils
~/.zshrc:
vimreview() {
{
echo "# [NOTE]\n# DIFF REVIEW:\n# The following is our current changes as a git diff with my comments added. Comments are denoted by a leading #\n# Please review and discuss or process my comments.\n# [/NOTE]\n"; \
git diff
} | \
vipe --suffix diff | \
pbcopy
}