Intro | Installation | Donate | LICENSE
better-header
is a template that is inserted when starting a new file,
saving time and allowing you to have an impeccable aesthetic in each
new file created by you.
With better-header you no longer have to write the date, your name or your github, which are repetitive things, save time and only define that information once.
Is compatible with all programming languages, markup language, scripts etc. here are some as an example:
cpp,c,go,java,javascript,scala,php,rust,jsonc,json,vim,python,r,ruby,
sh,desktop,fstab,profile,text,tmux,make,dockerfile,bashrc,zsh,zshrc,
bash_profile,gitignore,yaml,gdb,gitconfig,conf,fish,sshconfig,html,
xml,tex,mail,lua,dosbatch,autohotkey
This is an example of the header that is used as a format:
# ========================================
# FileName: README.md
# Date: 00:51 30.March.2022
# Author: Marcos Chow Castro
# Email: mctechnology170318@gmail.com
# GitHub: https://github.com/mctechnology17
# Brief: repository description
# =========================================
Simply install the plugin with your preferred plugin handler and the arguments for the following variables
" install better-header
Plug 'mctechnology17/vim-better-header'
" set your info, hier a example:
let g:better_head_date = strftime("%H:%M %d.%B.%Y")
let g:better_head_author = "Marcos Chow Castro"
let g:better_head_email = "mctechnology170318@gmail.com"
let g:better_head_github = "https://github.com/mctechnology17"
set rtp+=~/vim-better-header
Using Vundle:
Just add this line to your ~/.vimrc
:
Plugin 'mctechnology17/vim-better-header'
And run :PluginInstall
inside Vim.
Using pathogen.vim:
Copy and paste in your shell:
cd ~/.vim/bundle
git clone https://github.com/mctechnology17/vim-better-header
Using vpm:
Run this command in your shell:
vpm insert mctechnology17/vim-better-header
Using Plug:
Just add this line to your ~/.vimrc
inside plug call:
Plug 'mctechnology17/vim-better-header'
And run :PlugInstall
inside Vim or vim +PlugInstall +qa
from shell.
If you're enjoy my work, feel free to donate or become a sponsor.
Ambassador and creator/maintainer of vimtools, GitManager and more, that are easy to integrate, but very powerful work tools that allow you to improve your workflow, integrating with all operating systems and all possible shells
Here you can see another recently published project:
- vimtools functions and settings that will make it easy for you life
- gm git manager with a friendly user interface
Released under the GNU General Public License v3.0.
Copyright (c) 2022 Marcos Chow Castro