App-Git-Ribbon
view release on metacpan or search on metacpan
mkdir -p ~/.vim/colors/
wget https://github.com/kablamo/dotfiles/blob/master/links/.vim/colors/iijo.vim -O ~/tmp/iijo.vim
echo "colorscheme iijo" >> ~/.vimrc
Then learn how to use vimdiff:
To open and close folds type `zo` and `zo`. For more help type `:help
fold-commands`.
To switch windows type `ctl-w l` and `ctl-w h`. For more help type
`:help window-move-cursor`.
To quickly exit vimdiff type `ZZ`.
Alternatives to vimdiff
If you don't want to invest the time just yet to learn vim, use an
alternative like meld, opendiff, p4merge, xxdiff, etc. Side by side
diffs are worth it!
INSTALLATION
cpanm <https://metacpan.org/module/App::cpanminus> is the standard tool
the Perl community uses to download and install Perl libraries from the
However the default colors for vimdiff were created by insane clowns. So try
this instead:
â¡ mkdir -p ~/.vim/colors/
â¡ wget https://github.com/kablamo/dotfiles/blob/master/links/.vim/colors/iijo.vim -O ~/tmp/iijo.vim
â¡ echo "colorscheme iijo" >> ~/.vimrc
Then learn how to use vimdiff:
- To open and close folds type `zo` and `zo`. For more help type `:help fold-commands`.
- To switch windows type `ctl-w l` and `ctl-w h`. For more help type `:help window-move-cursor`.
- To quickly exit vimdiff type `ZZ`.
See also
--------
This script was inspired by
http://gitready.com/advanced/2011/10/21/ribbon-and-catchup-reading-new-commits.html
lib/App/Git/Ribbon.pm view on Meta::CPAN
mkdir -p ~/.vim/colors/
wget https://github.com/kablamo/dotfiles/blob/master/links/.vim/colors/iijo.vim -O ~/tmp/iijo.vim
echo "colorscheme iijo" >> ~/.vimrc
Then learn how to use vimdiff:
=over 4
=item To open and close folds type `zo` and `zo`. For more help type `:help fold-commands`.
=item To switch windows type `ctl-w l` and `ctl-w h`. For more help type `:help window-move-cursor`.
=item To quickly exit vimdiff type `ZZ`.
=back
=head2 Alternatives to vimdiff
If you don't want to invest the time just yet to learn vim, use an alternative like meld, opendiff,
p4merge, xxdiff, etc. Side by side diffs are worth it!
( run in 0.299 second using v1.01-cache-2.11-cpan-4d50c553e7e )