> KF wrote:
>> ' is a normal command to jump to a mark where it was mark with m
>> command.
>> " is register selection for copying/moving/yanking text.
>>
>> :help '
>> :help m
>> :help "
>>
>> HTH.
>> KF
>>
> I suppose I should have asked
> What is the difference between ' and ''
> when used as a delimiter?
> 'xxx' vs "xxx"
>
> But you have pointed up another set of overloading
> on the meanings/uses of these characters.
>
:help expr-string
:help literal-string
Between double quotes, but not between single quotes, a backslash
followed by some letters has special meaning. Between single quotes, a
single quote is doubled(1), everything else is taken at face value.
(1) i.e., to represent the value
&é"'(§è
followed on the same line by a carriage return
use
"&é\"'(§è\r"
with double quotes, or
'&é"''(§è^M'
with single quotes (where ^M is one character, entered by Ctrl-V Enter)
HTH,
Tony.
--
Mistakes are often the stepping stones to utter failure.
--
You received this message from the "vim_use" 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
No comments:
Post a Comment