diff options
author | Max Christian Pohle | 2020-03-09 00:28:21 +0100 |
---|---|---|
committer | Max Christian Pohle | 2020-03-09 00:28:21 +0100 |
commit | dbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (patch) | |
tree | 60c2730a33736f94600d262de38f8a90348b9dee /plugin | |
parent | 1806b1b40739894ee18bef2c071487274cbab3b7 (diff) | |
download | vim-dbcaab09f2b1f2b6256364407fa67ee67f3cdc66.tar.bz2 vim-dbcaab09f2b1f2b6256364407fa67ee67f3cdc66.zip |
updated submodules, clang-format now uses py3
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/printing-hardcopy.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugin/printing-hardcopy.vim b/plugin/printing-hardcopy.vim new file mode 100644 index 0000000..ad51b02 --- /dev/null +++ b/plugin/printing-hardcopy.vim | |||
@@ -0,0 +1,10 @@ | |||
1 | let default_expr=&printexpr | ||
2 | |||
3 | " if filereadable("/usr/bin/a2ps") | ||
4 | " let &printexpr = "system('a2ps -1gEmail --borders=no --strip=3')" | ||
5 | " endif | ||
6 | " | ||
7 | set printoptions=portrait:y,number:n,syntax:n,left:25mm,right:20mm,top:27mm,bottom:25mm | ||
8 | |||
9 | let &printfont = "monospace 11" | ||
10 | let &printexpr = "system('lpr -p' . (&printdevice == '' ? '' : ' -P' . &printdevice) . ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error" | ||