/var/log

VIM tips

Here I will collect some of the actions I always have to look up before I can use them in VIM...

Replace in selection

  • Get into visual mode (CTRL + V) and create the selection
  • Type : - you'll see '<,'> which is the range
  • After this range, type for example s/fuction/function/g to replace every occurance of "fuction" with "function".
Tag: | Category: