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?
Method 1: Ctrl+Click Simply press and hold the Ctrl key (Cmd on a Mac) and then click the link in your browser. The link will open in a new tab in the background.
You can open the history page using this shortcut. Press Ctrl+H. History page will be opened. You can use this page to access the browser history of google chrome.
Use cabbrev:
ca tn tabnew
ca th tabp
ca tl tabn
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With