Daily Practice
Find the English version below
Hi ,
Hast du schon mal probiert vim zu schließen?
Das Meme kennst du vermutlich. Auch nach Jahrzehnten finde ich es immer noch witzig 😁
Aber was ich in den Jahrzehnten nicht geschafft habe, war mal ernsthaft zu lernen, wie man mit vim umgeht. Klar. Mit i
gehe ich in den insert-mode. Dann kann ich schreiben. Und dd
habe ich auch gelernt. Damit kann ich eine Zeile löschen. Und ja. Natürlich war ich einer der drei Millionen Viewer, denen Stack Overflow geholfen hat vim zu schließen 😉
Und sonst? Eigentlich nicht viel. Ich habe mir nie die Zeit genommen, vim motions wirklich zu verstehen und zu lernen.
Doch wer von uns lernt das in der Schule? Oder im Studium? Oder in der Ausbildung?
Es ist erstmal unnatürlich. Allerhand Hotkeys, die mit verschiedenster Semantik zu verschiedenen Teilen des Texts springen können.
h
,j
,k
,l
- statt den Pfeiltasten (das ist übrigens der ADM-3A Schuld)w
- um zum nächsten Wort zu springen^d
- um eine halbe Seite nach unten zu springengg
- um an den Anfang des Files zu springen- ...
An der Wand neben meinem Bildschirm klebt jetzt ein vim Cheat-Sheet.
Bewusstes Lernen ist wichtig!
Als Softwareentwickler arbeiten wir nicht mit Holz oder mit Hammer und Meißel. Unser Werkzeug ist die Tastatur. Unser Material sind Textdateien. Unsere Techniken sind Programmiersprachen.
All diese Dinge müssen gelernt und geübt werden.
Im Leistungssport ist das natürlich. Alle Sportler trainieren jeden Tag. Es werden bewusst Trainings entwickelt, um einzelne Aspekte der eigenen Leistung zu steigern.
Und diese Perfektion erreichen wir nur mit bewusster Praxis. Wir müssen es üben. Jeden Tag.
Ich habe in den letzten Jahren bewusst das 10-Finger-Schreiben, den Umgang mit dem englischen ANSI-Layout und die Nutzung von IntelliJ ohne die Maus geübt. Und jetzt sind vim motions dran. Es ist das nächste Puzzlestück, um wirklich effizient zu arbeiten. Meine Konzentration soll nur auf dem Inhalt liegen. Ich will keine Energie an andere Aufgaben verschwenden.
Und ich kann dir versichern, dass sich der Aufwand lohnt.
Probier es aus. Du schreibst noch nicht konsequent mit 10 Fingern? Dann geh jeden Tag für 10 Minuten auf keybr.com. Du verbiegst beim Programmieren deine Finger auf einer deutschen Tastatur? Dann kaufe dir eine günstige Tastatur mit dem US-Layout und schreibe damit für eine halbe Stunde jeden Tag.
Und als Führungskraft solltest du dein Team ermutigen, bewusst zu üben. Wie wäre es mit einem regelmäßigen coding-dojo? Das ist eine wunderbare Chance, solche Ideen zur Effizienzsteigerung zu teilen.
, was tust du, um deine Effizienz zu steigern? Ich suche immer nach neuen Ideen!
Rule the Backend,
~ Marcus
Hi ,
Have you ever tried closing vim?
You probably know the meme. Even after decades, I still find it funny 😁
But what I haven't managed to do in all these years is to seriously learn how to use vim. Sure, I press i
to enter insert mode and then I can type. And I've also learned dd
to delete a line. And yes, of course, I was one of the three million viewers who were helped by Stack Overflow to close vim 😉
What else? Not much, really. I never took the time to really understand and learn vim motions.
But who among us learns this in school? Or in university? Or in training?
It's initially unnatural. All kinds of hotkeys that can jump to different parts of the text with various semantics.
h
,j
,k
,l
- instead of the arrow keys (by the way, the ADM-3A is to blame)w
- to jump to the next word^d
- to scroll half a page downgg
- to jump to the beginning of the file- ...
Now, a vim cheat sheet is stuck on the wall next to my screen.
Deliberate learning is important!
As software developers, we don't work with wood or with hammer and chisel. Our tool is the keyboard. Our material is text files. Our techniques are programming languages.
All these things need to be learned and practiced.
In professional sports, this is natural. All athletes train every day. Training sessions are consciously developed to improve individual aspects of one's performance.
And we only achieve perfection with deliberate practice. We have to practice. Every day.
In recent years, I have consciously practiced touch typing, using the English ANSI layout, and using IntelliJ without a mouse. And now it's time for vim motions. It's the next piece of the puzzle to work really efficiently. My focus should only be on the content. I don't want to waste energy on other tasks.
And I can assure you that the effort is worth it.
Give it a try. You don't yet type consistently with 10 fingers? Then go to keybr.com every day for 10 minutes. You contort your fingers on a German keyboard while programming? Then buy a cheap keyboard with the US layout and use it to write for half an hour every day.
And as a leader, you should encourage your team to practice deliberately. How about a regular coding dojo? It's a wonderful opportunity to share such ideas for efficiency improvement.
, what do you do to increase your efficiency? I'm always looking for new ideas!
Rule the Backend,
~ Marcus