Home
NOTE: I'm in the middle of upgrading the site. Most things are in place, but some things are missing and/or broken. This includes alt text for images. Please bear with me while I get things fixed.

Today I Learned Mapping te to tabedit in Vim

Vim's [TODO: Code shorthand span ] command seems long considering how often it's used. Applying logic from this StackOverflow answer produces this customization :

cnoreabbrev <expr> te getcmdtype() == ":" && getcmdline() == 'te' ? 'tabedit' : 'te'
~ fin ~