rename color.h to colors.h

This commit is contained in:
hugogogo
2022-03-07 18:46:54 +01:00
parent 04871c2ec3
commit 70dcef77ab
3 changed files with 13 additions and 13 deletions

View File

@@ -41,14 +41,14 @@ bind F eval "hardstatus alwayslastline"
chdir $HOME/huhuhu_config
screen
chdir $HOME/huhuhu_config/tutos
screen -t shell vim -n shell.txt
screen -t git vim -n git.txt
screen -t screen vim -n screen.txt
screen -t node vim -n node.txt
screen -t react vim -n react.txt
screen -t php vim -n php.txt
screen -t sites vim -n sites.txt
screen -t vim vim -n vim.txt
screen -t tutos_shell vim -n shell.txt
screen -t tutos_git vim -n git.txt
screen -t tutos_screen vim -n screen.txt
screen -t tutos_node vim -n node.txt
screen -t tutos_react vim -n react.txt
screen -t tutos_php vim -n php.txt
screen -t tutos_sites vim -n sites.txt
screen -t tutos_vim vim -n vim.txt
chdir $HOME
screen

View File

@@ -126,16 +126,16 @@ endfunction
function! MAKEFile()
silent! 0r $HOME/.vim/templates/skeleton_makefile
endfunction
" to autofill a new color.h file
" to autofill a new colors.h file
function! COLORFile()
silent! 0r $HOME/.vim/templates/skeleton_color.h
silent! 0r $HOME/.vim/templates/skeleton_colors.h
endfunction
" autofill calls
autocmd BufNewFile *.hpp call HPPFile()
autocmd BufNewFile *.cpp if @% == 'main.cpp' | call MAINCPPFile() | else | call CPPFile()
autocmd BufNewFile Makefile call MAKEFile()
autocmd BufNewFile color.h call COLORFile()
autocmd BufNewFile colors.h call COLORFile()

View File

@@ -1,5 +1,5 @@
#ifndef COLOR_H
# define COLOR_H
#ifndef COLORS_H
# define COLORS_H
# define GRAY "\e[0;30m"
# define RED "\e[0;31m"