Replace Text Using VIM Manually or Globally When working with text files we often need to be able to select text and replace the values. Working with the example we use, we have a Puppet manifest and we need to replace text using vim to correct variable names. For us, we want to look for […]
vim
Selecting Text Using the VIM Visual Editor
Maybe one of the first things we learn in VIM is to be able to copy a line using the command yy, but sometimes we do not want the complete line. Using the VIM Visual Editor we are able to select the text that we require and copy and paste it wherever needed. In this […]
Making use of the VIM Dot Command for Crazily Quick Edits
VIM Dot Command When teaching VIM in my Linux classes many students think the dot command is, well, kind of pointless. If we can delete a character using just one key then I don’t need the dot command to repeat the edit. Or do I? Well, of course, you do that is why I am […]