Some simple functions while practising Vim