42 (Paris) Codam (Amsterdam)
42 or Codam standard header for vim editor.
Copy stdheader.vim
in your ~/.vim/plugin
, or use your favorite plugin
manager. Then set the user, mail and school variables as explained below.
To install with Vundle
place this in your .vimrc
:
Plugin 'pmerku/42header'
then run the following in Vim:
:source %
:PluginInstall
Add in ~/.zshrc
your:
USER
MAIL
SCHOOL
let g:user42 = 'yourLogin'
let g:mail42 = '[email protected]'
let g:school42 = 'yourSchoolName'
In NORMAL mode you can use :Stdheader
or simply press the shortcut F1.
Under Linux you eventually need to disable the help shortcut of your terminal :
For Terminator, right click -> Preferences -> Shortcuts -> change help with something other than F1
Inside the clusters you can easily run:
$ ./set_header.sh [schoolname] [region]
@zazard - creator
@alexandregv - contributor
@mjacq42 - contributor
@sungmcho - contributor
This work is published under the terms of 42 Unlicense.