42 (Paris)
42 standard header for vim editor.
Copy stdheader.vim in your ~/.vim/plugin, or use your favorite plugin
manager. Then set the user and mail variables as explained below.
Use echo $0 to determine if you are using bash or zsh shell.
Add in ~/.zshrc or ~/.bashrc (create the files if they do not exist):
export USER='yourLogin'
export MAIL='yourLogin@student.42.fr'This sets the USER abd MAIL environment variables across your entire system.
let g:user42 = 'yourLogin'
let g:mail42 = 'yourLogin@student.42.fr'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 42 clusters you can easily run:
$ ./set_header.sh
@zazard - creator
@alexandregv - contributor
@mjacq42 - contributor
@sungmcho - contributor
@fclivaz42 - contributor
This work is published under the terms of 42 Unlicense.
