Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/42Paris/42header
42 header
https://github.com/42Paris/42header
Last synced: 2 months ago
JSON representation
42 header
- Host: GitHub
- URL: https://github.com/42Paris/42header
- Owner: 42Paris
- License: other
- Created: 2020-04-07T14:07:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T15:19:44.000Z (7 months ago)
- Last Synced: 2024-07-31T09:34:07.083Z (6 months ago)
- Language: Vim script
- Size: 138 KB
- Stars: 276
- Watchers: 7
- Forks: 110
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-42 - 42 Header - Official from [@42Paris](https://github.com/42Paris). (Tools / Editor Extensions)
README
# **42 Header**
42 (Paris)
### **Description**
42 standard header for vim editor.
![42 header](img/42header.jpg)
### **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
```vim
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](https://github.com/zazard) - creator
[@alexandregv](https://github.com/alexandregv) - contributor
[@mjacq42](https://github.com/mjacq42) - contributor
[@sungmcho](https://github.com/lordtomi0325) - contributor### **License**
This work is published under the terms of **[42 Unlicense](https://github.com/gcamerli/42unlicense)**.