In the following code snippet I'm trying to replace parameter name from param
to value, using dot register (last inserted text):
function execute(param){
var result = param.paramProcessing();
1. I place the cursor on the in first occurence of param (in the brackets)
2. I type `ciwvalue<ESC>` to replace param with value, and move value into dot
register
3. I go to second param occurence
4. I type `viw".p` to select param, and replace it with value
As you can see during reproduction, step #4 instead of word replacement, causes
removal of word 'param', and leaves me in visual mode.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.