Skip to content

ProgrammingClub-FloridaPoly/vim-poly-header

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

vim header for 42 projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 71.5%
  • Shell 28.5%