diff --git a/.screenrc b/.screenrc index e0d5892..fdb2f6b 100644 --- a/.screenrc +++ b/.screenrc @@ -11,7 +11,7 @@ startup_message off -chdir /home/simplonco/Bureau/ +chdir $HOME/ #pour afficher une ligne avec des infos hardstatus on diff --git a/git.txt b/git.txt index fdbeb4c..37654cf 100644 --- a/git.txt +++ b/git.txt @@ -10,7 +10,8 @@ **git push** pushes the modifications to the distant repository github (remote) **git remote -v** lists all distant origins, remotes, your local git project knows (in other words it lists a git project's remotes) **git remote show origin** show the state of the remote and its branches - **git remote rm remote_name** supprimer un remote + **git remote rm remote_name** delete a remote + **git remote set-url remote_name new_name** change remote name **git pull** pull any changes from the remote **git clone** creates a local copy of a remote **git branch** lists all a git project's branches @@ -31,3 +32,4 @@ **git stash** saves the uncommited changes besides for later use **git stash pop** reapply the stashed changes and removes them from the stash area **git stash apply** reaply the stashed changes and keep them in the stash area +**git config --global credential.helper store** store the passwords in .git-credentials in the HOME directory (thanks to global, as opposed to the project directory) so you don't have tot type it each time diff --git a/shell.txt b/shell.txt index 9a3ad15..eefc86d 100644 --- a/shell.txt +++ b/shell.txt @@ -6,6 +6,7 @@ **fg** relance le dernier travail mis sur pause **mkdir file{1..10}** creer 10 dossiers nommés de file1 à file10 **pwd** print working directory +**xdg-open .** open working directory **pdftotext** transforme un pdf en un fichier texte **^** designe le debut d'une ligne diff --git a/vim.txt b/vim.txt index 9ba9815..a4c2080 100644 --- a/vim.txt +++ b/vim.txt @@ -1,6 +1,10 @@ /MODE INSERTION/ -**i** mode insertion (écrire du texte) +**i** mode insertion avant le curseur +**I** mode insertion au debut de la ligne +**a** mode insertion apres le curseur +**A** mode insertion a la fin de la ligne **o** mode insertion a la ligne +**O** mode insertion a la ligne du dessus **3iTEXT** ecrira trois fois TEXT **ctrl r** * colle depuis le clipboard en mode insertion