#hugogogo#

startup_message off


#pour augmenter le scrollback de l'ecran
defscrollback 10000

#pour afficher une ligne avec des infos
hardstatus on

#pour qu'elle s'affiche en bas
hardstatus alwayslastline

#tout ce qui n'est pas precede de % s'affiche tel quel
#tout ce qui est entre {} formate le texte
# = format texte inchange
# KW couleur arriere bright black, couleur texte bright white
# %n numero de windows
# %t title de windows
# %= remplis les espaces vides
# %c current time
# %d day
# %m month
# %y year
hardstatus string "%{= KW}%n %t %=%c %D %d-%m-%y"
#hide hardstatus: ctrl-a f
bind f eval "hardstatus ignore"
#show hardstatus: ctrl-a f
bind F eval "hardstatus alwayslastline"

#screen open a new windows
# -t assign a title
# vim calls vim with the option -n to avoid the .swp
# the scheme 'screen -t <name> vim -n file.txt' will
# associate the window to the action 'vim', so it
# close as soon as you finish it. you can avoid that :
# https://stackoverflow.com/questions/7585069/run-commands-in-gnu-screen-windows-from-screenrc
#   screen -t <name>
#   stuff "vim file.txt^M"
chdir $HOME/huhuhu_config
screen

screen -t .vimrc					vim -n	./config_files/.vimrc
screen -t .screenrc				vim -n	./config_files/.screenrc
screen -t .zshrc					vim -n	./config_files/.zshrc
screen -t tutos_vim				vim -n	./tutos/vim.txt
screen -t tutos_screen		vim -n	./tutos/screen.txt
screen -t tutos_git				vim -n	./tutos/git.txt
screen -t tutos_sites			vim -n	./tutos/sites.txt
screen -t tutos_computer	vim -n	./tutos/computer.txt
screen -t tutos_server  	vim -n	./tutos/server.md
screen -t notes_oskey   	vim -n	./notes/oskey.md

chdir $HOME
screen

#hugogogo#
