A vim header for programming projects at Poly, forked from pbondoer's 42header
- Elegant trimming of long strings
- Updates filename line when changed
- Updates "Updated" line only when buffer is changed
- Works with all formats that default supports
- Binds to
F1
for easy access - Overrides
:Stdheader
In ember, simply
git clone https://github.com/polyprogrammingclub/vim-poly-header
cd vim-poly-header
/bin/bash ember_install.sh
Copy poly-header.vim
to your ~/.vim/plugin
folder. Set $USER and $MAIL
As a simple fix, you may add the line to your shell profile
# working command example
git clone https://github.com/polyprogrammingclub/vim-poly-header
cd vim-poly-header
cp plugin/poly-header.vim ~/.vim/plugin
# in ssh when working in ember
echo "export MAIL=$(whoami)@floridapoly.edu" >> ~/.bashrc
If you use vim-plug or any other plugin manager, simply add this line to your plugin initialization:
Plug 'vim-poly-header/vim-poly-header'
[email protected], for creating the header!
vim-42header, the improved original
42.fr
42.us