From 70dcef77ab0081042752222637f81d9aa5852a2a Mon Sep 17 00:00:00 2001 From: hugogogo Date: Mon, 7 Mar 2022 18:46:54 +0100 Subject: [PATCH] rename color.h to colors.h --- config_files/.screenrc | 16 ++++++++-------- config_files/.vimrc | 6 +++--- .../{skeleton_color.h => skeleton_colors.h} | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) rename config_files/{skeleton_color.h => skeleton_colors.h} (92%) diff --git a/config_files/.screenrc b/config_files/.screenrc index 8d9541a..28fd6b8 100644 --- a/config_files/.screenrc +++ b/config_files/.screenrc @@ -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 diff --git a/config_files/.vimrc b/config_files/.vimrc index 4fec4af..fc9699f 100644 --- a/config_files/.vimrc +++ b/config_files/.vimrc @@ -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() diff --git a/config_files/skeleton_color.h b/config_files/skeleton_colors.h similarity index 92% rename from config_files/skeleton_color.h rename to config_files/skeleton_colors.h index e313f5f..05d4f2c 100644 --- a/config_files/skeleton_color.h +++ b/config_files/skeleton_colors.h @@ -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"