I think I need to learn Vim…

Photo by Markus Spiske on Pexels.com

tl;dr – Yes, I might become one of “those” people.

But first, the story: here’s the deal, I spilt tea on my keyboard, the Surface Keyboard

You served me well…

Not many keys have stopped working, but the letter ‘G’ is among them, which is really annoying for yours truly!

That’s fine, it’s normally a couple of years before I have an excessive “liquid-to-keyboard interaction event“. By which point I’ve normally had a few thousand hours of use and I’ve found the keyboard limiting. So, I decided to burn some of my Nectar points on Microsofts latest and greatest, the Microsoft Designer Compact Keyboard… cue fanfare!🎺

(totally not a copy of the Apple wireless keyboard… okay, maybe a little… okay a lot!)

It was worth a gamble – it means my mouse is closer to the centre line of my body, and being smaller there’s less chance of tea spilling on it!

But…

Despite the knowledge of what I saw, it has become apparent that it’s probably not going to match my expectations (even after I have adjusted to it…). There are a few caveats:

  1. No right CTRL (I could get used to that with time)
  2. VERY tiny up/down arrow keys. The up arrow is the worst as it’s too easy to repeatedly tap shift.
  3. Home/End/PgUp/PgDn are accessible, but it seems a bit of a reach.
  4. Get characters like n-dash, m-dash and copyright without the number pad is very annoying (I have a lot of those numbers memorised)

The rest, I can live with, and I quite like the nice touch of an emoji key 😘

So what now?

What if I could turn this to my advantage?

The impediment to action advances action. What stands in the way becomes the way.

Marcus Aurelius

Firstly, I’m a VS Code user—I switched from Sublime Text last year as it wasn’t keeping up with a modern workflow—and I really like it. I have some of the more popular plugins and it has a decent level of performance to keep everything running sweetly.

An example of VS Code’s interface

This got me thinking: my editor is fine and I actually do like this keyboard, but the thing that really annoyed me was the speed of my coding. Despite a 60-70wpm typing speed for prose, I’ve never really mastered the art of mouse-less coding and I am in awe of anyone who can code without a mouse. Opening files, running commands, git commits – I’ll do those from the keyboard: but the actual coding where I spend most of my time… hasn’t really improved in the last 10 years.

Enter Vim

…well, not Vim Editor as such. Vim for VS Code! 😊

It’s not a complete replacement. Some of the more advanced features haven’t been implemented, some are just not possible due to limitations in VS Code’s API.

So I’m going to give it a go, see if I can move past my coding plateau!

For now I’m making some notes using Notion of resources – please feel free to have a look to see if anything is useful.

https://www.notion.so/Vim-Learning-f007b34487bc4cf981b5db6c818f0882

I aim to update this with notes and hopefully review some of them as I progress!

Wish me luck! (I’ve only got 20+ years of coding habits to relearn!)

The Epic Failures are to be Expected

Why hasn’t this talk had more coverage? It’s a powerful retelling of a story of how finding “the thing” in life often involves a lot of failures. I’ve started (and restarted!) many projects in life (this blog being one of them) and the talk below really struck a nerve.

How did I get here?

I’m a big fan of Pomplamoose – a popular music act known for their funky covers of popular songs and like many I had an “aha!” moment when I realised that the guy who just loves jammin’ on the keys is not just a musician but the founder of Patreon… the one and only @jackconte.

The talk is super-passionate and Jack reveals all the failed projects of his past and all the time and money he spent on endeavours that went nowhere.

In the talk he shows how some things that looked promising went absolutely nowhere and how spur-of-the-moment things went viral without much thought at all.

It reminds me of the Jim Rohn parable of the Sower and the Seed – better told by Jim than me…

My Takeaways

  • Don’t think that because X failed, all things will fail.
  • Don’t think that because X succeeded, Y (based on X) will succeed.
  • Just keep at it. You’ll find what works eventually.

You must discipline your disappointment

Jim Rohn

Journey vs. Destination

We’re all keen to arrive at the destination. Nothing wrong with that.

Just don’t forget the journey.

Travel should be comfortable and not leave you exhausted at the end. Nobody wants to say “I’ve arrived!” and then promptly collapse in a heap on the floor.

Take in the sights along the way, converse with others. You’ll bring a lot more with you to your destination than you planned and people will welcome you even more.

The point isn’t to reach the end note as fast as you can. It’s to dance while the music is playing. The final note isn’t more important than any other note.

Alan Watts
Published
Categorised as Thoughts