Hi,

Take the following example:

<file file_id="myid">c:\test.txt</file>

When the cursor is on the 'm' of 'myid' and I press 'vw', a word is selected in visual mode. However, the " at the end of 'myid' is also selected. How do I change the list of 'word separators'?

On a related note, when I have 'myid' selected and I want to replace it with the contents of the yank buffer, I press 'p'. But the original contents of the yank buffer are then replaced my 'myid', i.e. the text that was replaced in the paste operation. How do I change this behaviour? Do I have to write a macro to override the paste behaviour in visual mode or is there another way? Thanks.

cheers,

roel


Reply via email to