enclosing a visual block with quotes

2007-01-14 Thread Bram Kuijper
Hi, I tried to use the following tip on enclosing a visual block with quotes in vim: http://schlitt.info/applications/blog/index.php?/archives/331-Comfortable-PHP-editing-with-VIM-3.html Sometimes you want to include text you already typed text into braces or (more likely) into quotes. Using

regexp substitution problem

2006-12-12 Thread Bram Kuijper
Hi, I am quite new to vim and just started to use regular expressions to replace certain amounts of text. For example, in the following piece of text I would like to keep only the first column and delete the rest: optimal_value_viability | real| default 0.0 number_generations