You are not logged in.
I'm trying to use the Source Code Pro in my vim, so I wrote in my .vimrc file:
set guifont=Source/ Code/ Pro/ 12
But the output when I saved was "Unknown option: Code/". I installed the font with the script from here:
http://askubuntu.com/questions/193072/h … e-pro-font
And I can use it with xfce4-terminal, so I should be installed just fine (I can use it as the terminal font and then the vim will use it too, but I want to make my .vimrc to do that).
Any ideas?
Thenx in advance.
Last edited by h4ld3n (2014-04-23 14:53:51)
Offline
set guifont=Source/ Code/ Pro/ 12
I don't know a thing about what you're doing, but if you're escaping space characters then your backslashes are pointing the wrong way:
set guifont=Source\ Code\ Pro\ 12Last edited by drcouzelis (2014-04-23 14:27:08)
Offline
h4ld3n wrote:set guifont=Source/ Code/ Pro/ 12
I don't know a thing about what you're doing, but if you're escaping space characters then your backslashes are pointing the wrong way:
set guifont=Source\ Code\ Pro\ 12
This problem is gone, thenks.
But another problem - after I fixed it, the code doesn't change the font inside vim. Any help?
Edit: I saw that in the vim the font is just the terminal font and only in the gvim the font is set that way. So problem solved, thenks for helping me with the spaces ![]()
Last edited by h4ld3n (2014-04-23 14:53:31)
Offline
You're welcome. I love Vim. ![]()
Please click "Edit" on your first post and add "[SOLVED]" to the title.
Offline
Not a Programing issue, moving to NC..
Offline