aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMax Christian Pohle2020-03-09 00:28:21 +0100
committerMax Christian Pohle2020-03-09 00:28:21 +0100
commitdbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (patch)
tree60c2730a33736f94600d262de38f8a90348b9dee /plugin
parent1806b1b40739894ee18bef2c071487274cbab3b7 (diff)
downloadvim-karlmarks-dbcaab09f2b1f2b6256364407fa67ee67f3cdc66.tar.bz2
vim-karlmarks-dbcaab09f2b1f2b6256364407fa67ee67f3cdc66.zip
updated submodules, clang-format now uses py3
Diffstat (limited to 'plugin')
-rw-r--r--plugin/printing-hardcopy.vim10
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 @@
1let default_expr=&printexpr
2
3" if filereadable("/usr/bin/a2ps")
4" let &printexpr = "system('a2ps -1gEmail --borders=no --strip=3')"
5" endif
6"
7set printoptions=portrait:y,number:n,syntax:n,left:25mm,right:20mm,top:27mm,bottom:25mm
8
9let &printfont = "monospace 11"
10let &printexpr = "system('lpr -p' . (&printdevice == '' ? '' : ' -P' . &printdevice) . ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error"
..