Christian Brabandt schrieb am 01.03.2025 um 17:36:
> 
> On Fri, 28 Feb 2025, Eric Marceau wrote:
>>     │ "###                                                                                                                       │
>>     │                                                                                                                            │
>>     │ "###    Specify font for printout                                                                                          │
>>     │ "set printmbcharset="default"                                                                                              │
>>     │ "set printoptions="paper:letter,portrait:n,duplex:off,left:5pc,right:5pc,top:5pc,bottom:5pc,syntax:n,wrap:y"               │
>>     │ "set printoptions="portrait:n,duplex:off,wrap:y,syntax:n"                                                                  │
>>     │ "set printoptions="portrait:n,numbers:y,wrap:y,syntax:n,left:5pc,right:5pc,top:5pc,bottom:5pc"                             │
>>     │ "set printoptions="portrait:n,numbers:y,wrap:y,syntax:y"                                                                   │
>>     │ set printoptions="portrait:n"                                                                                              │
> 
>         Here you are not setting landscape mode.
the bigger problem with this line -- and all the other lines -- is that there are no values
assigned to the options. The parts on the right side of the equal sign are comments, not
strings. As a result all those "values" would clear the respective options.
Don't use double quotes around option values. And neither use single quote; they wouldn't
do what you'd expect either. String options don't need any quote symbol around their values.
And if you need to include a space in the option's value escape it with a backslash.
Regards,
Jürgen
-- 
~
~
~
:wq
-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/4ce57530-0033-4dc3-801d-247030b02054%40googlemail.com.
No comments:
Post a Comment