Introduction A simple but annoying one. You open a configuration file with no intent to change anything, then you think I’ll just change that .. and this.. and 20 minutes later when you go to save you realise you opened
Introduction This is a useful one if you do any sort of repetitive script creation as I do and also infinitely easier than figuring it out in notepad++. Need to duplicate every line in a text file? Fix :g/^/norm yyp sorted.
Introduction Well with my previous post deleting whole lines, I also wanted to delete a whole load of IP addresses which repeat frequently throughout the document and so achieving a clutter free doc. Fix Again in vim, a simple find
Introduction So I was trying to find a way to remove a whole world of verbose output using excel and not coming up with anything but then found this: http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern Fix All I needed to do was upload the file