Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

5 votes

Unable to :set printoptions for :hardcopy command

The other answers do a great job of explaining how to accomplish your goal. I'll play the unpopular part and explain your error. Let's split your line into two parts and take a look at them ...
Friedrich's user avatar
  • 2,101
2 votes

Unable to :set printoptions for :hardcopy command

Try this and see what happens: set printoptions=left:2pc,right:2pc,top:2pc,bottom:2pc,header:0,paper:A5 I just tried it and it worked here. Vim 9.1, patches through 408, compiled by me
MDeBusk's user avatar
  • 436
7 votes

Unable to :set printoptions for :hardcopy command

I would do: set printoptions=left:2pc,right:2pc,top:2pc,bottom:2pc,header:0,paper:A5 The set command needs: an equal sign (=) and no space ( ) in the argument. Or the variable alternatives: let &...
Vivian De Smedt's user avatar

Top 50 recent answers are included