rename color.h to colors.h
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user