restructure .screenrc : clear sections and improved comments
Generated by Mistral Vibe.
This commit is contained in:
+39
-16
@@ -1,36 +1,55 @@
|
|||||||
#hugogogo#
|
#hugogogo#
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
# reglages generaux
|
||||||
|
# ---------------------------------------------------------------------
|
||||||
|
|
||||||
|
# ne pas afficher le message d'accueil au lancement
|
||||||
startup_message off
|
startup_message off
|
||||||
|
|
||||||
# permet de copier dans le clipboard, en faisant 'C-a Y' apres un copie avec space
|
# pour augmenter le scrollback de l'ecran
|
||||||
bind Y eval "writebuf" "exec ... sh -c 'wl-copy < /tmp/screen-exchange'"
|
|
||||||
|
|
||||||
#pour augmenter le scrollback de l'ecran
|
|
||||||
defscrollback 10000
|
defscrollback 10000
|
||||||
|
|
||||||
#pour afficher une ligne avec des infos
|
# ---------------------------------------------------------------------
|
||||||
|
# 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
|
||||||
hardstatus on
|
hardstatus on
|
||||||
|
|
||||||
#pour qu'elle s'affiche en bas
|
# pour qu'elle s'affiche en bas
|
||||||
hardstatus alwayslastline
|
hardstatus alwayslastline
|
||||||
|
|
||||||
#tout ce qui n'est pas precede de % s'affiche tel quel
|
# tout ce qui n'est pas precede de % s'affiche tel quel
|
||||||
#tout ce qui est entre {} formate le texte
|
# tout ce qui est entre {} formate le texte
|
||||||
# = format texte inchange
|
# = format texte inchange
|
||||||
# KW couleur arriere bright black, couleur texte bright white
|
# KW couleur arriere bright black, couleur texte bright white
|
||||||
# %n numero de windows
|
# %n numero de windows
|
||||||
# %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
|
||||||
# the scheme 'screen -t <name> vim -n file.txt' will
|
# the scheme 'screen -t <name> vim -n file.txt' will
|
||||||
@@ -39,19 +58,23 @@ 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
|
||||||
screen -t tuto_vim vim -n ./tutos/vim.txt
|
screen -t tuto_vim vim -n ./tutos/vim.txt
|
||||||
screen -t tuto_screen vim -n ./tutos/screen.txt
|
screen -t tuto_screen vim -n ./tutos/screen.txt
|
||||||
screen -t tuto_git vim -n ./tutos/git.txt
|
screen -t tuto_git vim -n ./tutos/git.txt
|
||||||
screen -t tuto_sites vim -n ./tutos/sites.txt
|
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