Skip to content

Codam header for vim. Please report issues & pull requests to 42Paris/42header directly.

License

Notifications You must be signed in to change notification settings

codam-coding-college/codam-header

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codam Header

Codam (42 Amsterdam)

Description

Codam standard header for vim editor.

42 header

UNIX Setup

Copy stdheader.vim in your ~/.vim/plugin, or use your favorite plugin manager. Then set the user and mail variables as explained below.

Option 1: export USER and MAIL in your shell configuration file

Add in ~/.zshrc your:

  • USER
  • MAIL

Option 2: set user and mail values directly in your vimrc

let g:user42 = 'yourLogin'
let g:mail42 = 'yourLogin@student.codam.nl'

Usage

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

Note

Inside the 42 clusters you can easily run:

$ ./set_header.sh

Credits

@zazard - creator @alexandregv - contributor @mjacq42 - contributor @sungmcho - contributor @FreekBes - contributor

License

This work is published under the terms of 42 Unlicense.

About

Codam header for vim. Please report issues & pull requests to 42Paris/42header directly.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Vim Script 87.6%
  • Shell 12.4%