restructure .screenrc : clear sections and improved comments
Generated by Mistral Vibe.
This commit is contained in:
+30
-7
@@ -1,13 +1,31 @@
|
|||||||
#hugogogo#
|
#hugogogo#
|
||||||
|
|
||||||
startup_message off
|
|
||||||
|
|
||||||
# permet de copier dans le clipboard, en faisant 'C-a Y' apres un copie avec space
|
# ---------------------------------------------------------------------
|
||||||
bind Y eval "writebuf" "exec ... sh -c 'wl-copy < /tmp/screen-exchange'"
|
# reglages generaux
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# ne pas afficher le message d'accueil au lancement
|
||||||
|
startup_message off
|
||||||
|
|
||||||
# pour augmenter le scrollback de l'ecran
|
# pour augmenter le scrollback de l'ecran
|
||||||
defscrollback 10000
|
defscrollback 10000
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# raccourcis clavier (prefix C-a)
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# permet de copier dans le clipboard, en faisant 'C-a Y' apres une copie avec space
|
||||||
|
bind Y eval "writebuf" "exec ... sh -c 'wl-copy < /tmp/screen-exchange'"
|
||||||
|
|
||||||
|
# trick to force a full window repaint (press C-a r), fixes display glitches (e.g. with vibe)
|
||||||
|
# NOTE : ecrase le 'C-a r' par defaut (toggle du wrap)
|
||||||
|
bind r eval "hardstatus ignore" "hardstatus alwayslastline"
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# barre de statut (hardstatus)
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
# pour afficher une ligne avec des infos
|
# pour afficher une ligne avec des infos
|
||||||
hardstatus on
|
hardstatus on
|
||||||
|
|
||||||
@@ -22,14 +40,15 @@ hardstatus alwayslastline
|
|||||||
# %t title de windows
|
# %t title de windows
|
||||||
# %= remplis les espaces vides
|
# %= remplis les espaces vides
|
||||||
# %c current time
|
# %c current time
|
||||||
# %d day
|
# %D nom du jour (ex : Mon)
|
||||||
|
# %d numero du jour
|
||||||
# %m month
|
# %m month
|
||||||
# %y year
|
# %y year
|
||||||
hardstatus string "%{= KW}%n %t %=%c %D %d-%m-%y"
|
hardstatus string "%{= KW}%n %t %=%c %D %d-%m-%y"
|
||||||
|
|
||||||
# trick to force a full window repaint (press C-a r), fixes display glitches (e.g. with vibe)
|
# ---------------------------------------------------------------------
|
||||||
bind r eval "hardstatus ignore" "hardstatus alwayslastline"
|
# fenetres ouvertes au demarrage
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
# screen open a new windows
|
# screen open a new windows
|
||||||
# -t assign a title
|
# -t assign a title
|
||||||
# vim calls vim with the option -n to avoid the .swp
|
# vim calls vim with the option -n to avoid the .swp
|
||||||
@@ -39,9 +58,12 @@ bind r eval "hardstatus ignore" "hardstatus alwayslastline"
|
|||||||
# https://stackoverflow.com/questions/7585069/run-commands-in-gnu-screen-windows-from-screenrc
|
# https://stackoverflow.com/questions/7585069/run-commands-in-gnu-screen-windows-from-screenrc
|
||||||
# screen -t <name>
|
# screen -t <name>
|
||||||
# stuff "vim file.txt^M"
|
# stuff "vim file.txt^M"
|
||||||
|
|
||||||
|
# premiere fenetre : un shell dans le dossier de config
|
||||||
chdir $HOME/huhuhu_config
|
chdir $HOME/huhuhu_config
|
||||||
screen
|
screen
|
||||||
|
|
||||||
|
# une fenetre par fichier de config et par tuto
|
||||||
screen -t .vimrc vim -n ./config_files/.vimrc
|
screen -t .vimrc vim -n ./config_files/.vimrc
|
||||||
screen -t .screenrc vim -n ./config_files/.screenrc
|
screen -t .screenrc vim -n ./config_files/.screenrc
|
||||||
screen -t .zshrc vim -n ./config_files/.zshrc
|
screen -t .zshrc vim -n ./config_files/.zshrc
|
||||||
@@ -52,6 +74,7 @@ screen -t tuto_sites vim -n ./tutos/sites.txt
|
|||||||
screen -t tuto_computer vim -n ./tutos/computer.txt
|
screen -t tuto_computer vim -n ./tutos/computer.txt
|
||||||
screen -t tuto_server vim -n ./tutos/server.md
|
screen -t tuto_server vim -n ./tutos/server.md
|
||||||
|
|
||||||
|
# derniere fenetre : un shell dans le dossier personnel
|
||||||
chdir $HOME
|
chdir $HOME
|
||||||
screen
|
screen
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user