changes in vim manipulation of last oppened buffer
This commit is contained in:
30
tutos/computer.txt
Normal file
30
tutos/computer.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
**touchscreen :**
|
||||
**sudo xinput --list** list all input
|
||||
**xinput disable 12** disable the input 12, touchscreen for Lenovo-FLEX-3-1120
|
||||
**load to start :** add "xinput disable 12" in application autostart
|
||||
|
||||
**appimage :**
|
||||
**chmod +x <name>.appimage** make it executable
|
||||
**sudo vim /usr/share/applications/<name>.desktop** create a file.desktop with content :
|
||||
[Desktop Entry]
|
||||
Exec=/absolute/path/to/file/<name>.AppImage
|
||||
Name=<name>
|
||||
Type=Application
|
||||
**( cd /usr/share/applications && chmod 644 <name>.desktop )** maybe change permissions
|
||||
|
||||
**firefox extension source code :**
|
||||
**right click on install** and select "copy link"
|
||||
**curl -L <link> > /tmp/myextension.xpi** download the extension with curl inside a tmp file
|
||||
**unzip /tmp/myextension.xpi -d /tmp/myextension** unzip the content
|
||||
enjoy reading it ;)
|
||||
|
||||
**enable accents on ubuntu :**
|
||||
**compose key = right alt** change in keyboard > layout > compose key
|
||||
**r-alt ' e** é
|
||||
**r-alt ` e** è
|
||||
|
||||
**connect to planet hoster with ssh :**
|
||||
ssh hugugtzx@world-370.fr.planethoster.net -p 5022
|
||||
**to enable vi :** `export TERM=xterm`
|
||||
**locked files on nextcloud :** https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
**git branch** lists all a git project's branches
|
||||
**git branch branch_name** creates a new branch
|
||||
**git checkout branch_name** to switch from one branch to another
|
||||
**git checkout -b branch-name** create and switch to new branch
|
||||
**git log** shows a list of all previous commits
|
||||
**git log --summary** show more informations
|
||||
**git merge branch_name** join file changes from branch_name into current branch
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
**axiom.ai :** create bots to automat tasks on internet
|
||||
**wolframalpha.com :** answer complex questions in math, science, and life
|
||||
**tinywow.com :** free tools for tasks online
|
||||
**opensourcealternative.to :** open source alternatives
|
||||
**jotform.com :** 10 000 forms templates for your website
|
||||
|
||||
**create a live usb with partition** https://theartofmachinery.com/2016/04/21/partitioned_live_usb.html
|
||||
**tools** www.preparetocode.io
|
||||
**design** http://www.dailyui.co/
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
**:bp** go to previous buffer
|
||||
**:bn** go to next buffer
|
||||
**:b#** switch to last edited buffer
|
||||
**:explore / :ex<tab>** navigate through directory, rename, and plus
|
||||
**:Explore / :ex<tab>** navigate through directory, rename, and plus
|
||||
**:Lexplore / :Lex<tab>** buffer directory open in left split window
|
||||
**:Lexplore 30** Explore window is of size 30
|
||||
**search through files :**
|
||||
**:vim** the one function that gets to be name as the software ;)
|
||||
performes a kind of grep search on a list of files
|
||||
@@ -124,11 +126,12 @@
|
||||
**guu** passe la ligne en lowercase
|
||||
**bgUw** change le mot en uppercase
|
||||
**~** change casse du caractere sous le cursor
|
||||
* va a la prochaine occurence du mot sous le curseur
|
||||
***** va a la prochaine occurence du mot sous le curseur
|
||||
**q:** affiche les dernieres commandes
|
||||
**==** rétablit la bonne indentation pour la ligne
|
||||
**=G** rétablit la bonne indentation pour toute la page
|
||||
**''** go to last cursor position
|
||||
**gx** open the file under cursor, or url
|
||||
|
||||
/REMPLACER/
|
||||
**:s/old/new** remplace la 1ere occurence de ancien par nouveau
|
||||
|
||||
Reference in New Issue
Block a user