Reply to message «Re: Extended version of file:line script», sent 17:02:09 03 January 2011, Monday by Dr. David Alan Gilbert:
> * Christian Brabandt ([email protected]) wrote: > > Hi > > > > On Mo, 03 Jan 2011, Dr. David Alan Gilbert wrote: > > > if (names[3]) > > > > > > exe "normal " . names[3] . "|" > > > > > > endif > > > > It probably doesn't matter in this case, but in general you should > > always use :normal! > > Why - what does that do for me? For you - nothing, at least now. It just makes your script independent of user mappings: pretend that user has remapped `|' to `gg' for some reason. In this case ``normal 10|'' will bring you to 10th line, but ``normal! 10|'' will work as expected.
signature.asc
Description: This is a digitally signed message part.
