Get better with Vim one tip at a time

Add the function below to your .vimrc config file.

function! Vtip()
  echomsg system('curl -s -m 3 https://vtip.43z.one')
endfunction


In vim type :call Vtip() and hit <Enter> to view a random tip like.

Edit a macro by yanking it from one register and pasting it into another. For example, "ayy yanks the macro stored in register a, and "bp pastes it into register b.

Use Vim's built-in documentation with :help anything if something is unclear.

To make vim tips quickly accessible, setup a key mapping in your .vimrc with
noremap ,v :call Vtip()<CR>
Now just pressing ,v will show a tip.

To look up a tip again after you dismissed it use :messages

Created by h43z