Call me weird, but I already have this line in my ~/.zshrc file:

alias :q="exit"

This is because sometimes, by hands just type :q when I'm ragequitting Vim. It closes one Vim pane at a time, but since I run Vim inside of Tmux, some of the panes might not be a Vim pane but a Tmux pane. It's nice to just be able to ragequit all the panes in the same way.

(Yes, I could just nuke the Tmux session, but the point of ragequitting is that you bash your keyboard a lot to make a dramatic point to yourself and whatever project you were working on.)

I do a lot of Git stuff in the Fugitive Vim plugin, because it's a nice middle ground between a Git GUI and the command line. But this means my fingers type :G a lot now, including sometimes in the terminal, so I added the following:

function :G { nvim "+:G $@" }

This makes :G in the terminal open (Neo)Vim, directly executing the :G command (a neat little trick in itself). I considered aliasing it to just git, but that would still not have the same effect, as :G without arguments is more like git status. Making it a function and using the $@ makes sure I can also pass it arguments, but I'm doubting my fingers will ever go that far on autopilot.

(Come on, judge me.)