diff --git a/config_files/.screenrc b/config_files/.screenrc index 4b963f4..e06d5e3 100644 --- a/config_files/.screenrc +++ b/config_files/.screenrc @@ -30,18 +30,24 @@ bind f eval "hardstatus ignore" bind F eval "hardstatus alwayslastline" #screen open a new windows -# -t assigne un titre -# vim appel vim avec l'option -n pour eviter les .swp +# -t assign a title +# vim calls vim with the option -n to avoid the .swp +# the scheme 'screen -t 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 +# stuff "vim file.txt^M" chdir $HOME/huhuhu_config -screen -t config -screen -t shell vim -n $HOME/huhuhu_config/tutos/shell.txt -screen -t git vim -n $HOME/huhuhu_config/tutos/git.txt -screen -t screen vim -n $HOME/huhuhu_config/tutos/screen.txt -screen -t node vim -n $HOME/huhuhu_config/tutos/node.txt -screen -t react vim -n $HOME/huhuhu_config/tutos/react.txt -screen -t php vim -n $HOME/huhuhu_config/tutos/php.txt -screen -t sites vim -n $HOME/huhuhu_config/tutos/sites.txt -screen -t vim vim -n $HOME/huhuhu_config/tutos/vim.txt +screen +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 chdir $HOME screen