You are not logged in.

#1 2016-10-13 07:42:05

svenXY
Member
From: Heidelberg, Germany
Registered: 2013-11-15
Posts: 8

[SOLVED] vim: printdevice is set, but where from?

Hi,

when I do a ':set printdevice' in my vim, a printer is selected that does not exist any more on the system.
It is also no set in my .vimrc or anywhere else in my home directory or even in /etc.

lpstat -a does not even show this printer anymore...

Do any of you guys have an idea where this could be set or how I could reset it?

I know I can just set it in my .vimrc but I'd like to understand where this comes from.

I'm using XFCE here.

Thanks a lot,
Sven

Last edited by svenXY (2016-10-13 20:05:47)

Offline

#2 2016-10-13 10:20:24

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] vim: printdevice is set, but where from?

:verbose set printdevice?

This will tell you in which file was it last set. For further reference see troubleshooting guide on vim.wikia.com.

Offline

#3 2016-10-13 12:57:20

svenXY
Member
From: Heidelberg, Germany
Registered: 2013-11-15
Posts: 8

Re: [SOLVED] vim: printdevice is set, but where from?

nice one, thanks

it was actually in ~/.vim/plugin/local_mine.vim and I cannot properly explain why my ag (or grep) did not find that...

Offline

#4 2016-10-13 19:58:25

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] vim: printdevice is set, but where from?

Maybe you somehow set up those utilities not to look in dirs starting with a dot.

Would you kindly mark the thread as solved if your issue is solved?

Offline

Board footer

Powered by FluxBB