Coder Social home page Coder Social logo

42header's Introduction

42 Header

42 (Paris)

Description

42 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 = '[email protected]'

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

License

This work is published under the terms of 42 Unlicense.

42header's People

Contributors

alexandregv avatar rip-tommy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

42header's Issues

Stdheader updating while doing a rebase

When rebasing with git and dealing with conflicts, autocmd on BufWrite will trigger an incorrect update of the last modified date.

Therefore resulting in conflicts in all the following commits because of different headers.

conflit sur variable $USER

La variable d'environnement USER qui doit etre ajoutée au fichier .zshrc crée un conflit avec la variable d'environnement USER initialement présente sur Linux / Mac.

Pouvez-vous definir un autre nom pour celle ci ?

please add more file extensions available

currently it does not support most of the languages that do not use '#' for comments (including .go /* */ and .asm ; ;) .
could I ask you to add more languages to the list?

Header line 6 user and email length

my username and email are just one character too long so that the '>' character is cut from the end and norminette fails related to header. Could the required empty spaces before the special characters be lessened on line 6 so that a longer string of information can be inserted?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.