Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.31 KB

README.md

File metadata and controls

46 lines (38 loc) · 1.31 KB

vim-poly-header

A vim header for programming projects at Poly, forked from pbondoer's 42header

header image

Features

  • 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

Usage

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

vim-plug

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'

Acknowledgements

[email protected], for creating the header!
vim-42header, the improved original
42.fr
42.us