In vim, I'd like to shorten :tabnew to :tn, :tabp to :th, :tabn to :tl somewhere in my .vimrc. Any idea how I would remap commands like this?
:tabnew
:tn
:tabp
:th
:tabn
:tl
.vimrc
Use cabbrev:
ca tn tabnew ca th tabp ca tl tabn