45 lines
919 B
Markdown
45 lines
919 B
Markdown
# **42 Header**
|
|
|
|
42Lausanne (Switzerland)
|
|
|
|
### **Description**
|
|
|
|
42 standard header for vim editor.
|
|
|
|

|
|
|
|
### **UNIX Setup**
|
|
|
|
Add in `~/.zshrc` your:
|
|
|
|
+ `USER`
|
|
+ `MAIL`
|
|
|
|
Copy `stdheader.vim` in your `~/.vim/plugin`.
|
|
|
|
### **Usage**
|
|
|
|
In **NORMAL** mode you can use `:FT` or simply press the shortcut <kbd>F2</kbd>.
|
|
|
|
Under **Linux** you eventually need to disable the **help** shortcut of your **terminal** :
|
|
|
|
### **Note**
|
|
|
|
Inside the **42 clusters** you can easily run:
|
|
|
|
`$ ./set_header.sh`
|
|
|
|
The location of stdheader.vim in 42lausanne's clusters:
|
|
- /usr/share/vim/vim82/plugin/stdheader.vim
|
|
- /usr/share/vim/vim81/plugin/stdheader.vim
|
|
- /usr/share/vim/vim80/plugin/stdheader.vim
|
|
|
|
### **Credits**
|
|
|
|
[@42Paris](https://github.com/42Paris)
|
|
[@zazard](https://github.com/zazard)
|
|
|
|
### **License**
|
|
|
|
This work is published under the terms of **[42 Unlicense](https://github.com/gcamerli/42unlicense)**.
|