This was a lightening talk given to the office about ANSI Escape Codes. Most of the time, all 5 minutes of it, was spent explaining the code snippets.Read on →
writer of code – thinker of thoughts
I am a software guy with 20+ years experience. When I’m not writing code, I’m thinking about it. I have a wife I don’t deserve and 2 sons that don’t know better.
Sometimes it’s the little things that make a big difference, and this is about
as small as it can get. Occasionally, I hold down
e to view long
lines which have disappeared off the window. It’s a bad habit and the penalty
always ruins my concentration. But after I found this setting, I’m free
to cursor around like an innocent child unaware of death.
I found a plugin that is changing my Vim-tire life! This plugin is so awesome it should be built into default Vim. What does the plugin do? It enables the creation of new submodes. Why would a person want more modes?!? Isn’t dealing with modes the main deterrent for new Vim users? Isn’t Normal, Insert, Command-line, Visual, Select, and Operator-pending enough? (Did I miss one?) Let’s try out a new submode and see what happens.Read on →
For all the great things Vim has to offer, it still has some inconsistencies with
basic editors that I simply can’t unlearn. One of these nasties is moving the cursor
after a visual yank. Go ahead, try it:
vipy. Where’s your cursor? Where did
you expect it to be located? When you’re in a boring editor and do
shift-down-down-down <Cmd-c>, where’s your cursor? Where did you expect it
to be located? This janky behaviour always throws me off for a moment, then I
compose myself, do a
<backtick><greaterthan> to jump to the end of my selection, and
There must be a better way!Read on →
I have a problem with the
^ key. I need its functionality, but its proximity is
too far for either of my stubby index fingers. No vimrc change can physically move it
closer to me, but I have found a way to move its funtionality to another a key.
A key which already knows how to go home. An alternate home. A home where my
heart isn’t. Enough drama, what’s the problem?!?
First post in 2 years. Sorry to keep you waiting.
I’ve been playing with Vim again, more specifically NeoVim https://neovim.io/, and this time I think it’s going to stick.
Sometimes, I want to delete text without worrying about blowing away the
register. This can be done by prefixing a normal or visual delete with
but that’s an awkward dance for my pinky and ring finger. Go ahead, try it.
You’ll feel like you’re in junior high again.