You are not logged in.
Pages: 1
I think my vim is not working properly. I have the same .Xdefaults and vim theme in my laptop and in my university account, but I looks different on my laptop, with the line numbers and comments in black, when they should be grey. Does Archlinux overwrite the vim settings somewhere?
Here are my files:
Offline
Check your $TERM settings in both locations. Your term at home may not support as many colors as the term at school.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Both rxvt.
Offline
Do you have "set nocompatible" in your ~/.vimrc file?
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Have you looked at your /etc/vimrc or /usr/share/vim/vim72/vimrc_example.vim files? I had a problem where initially everything was gray and I had to add "syntax enable" to my /etc/vimrc file.
Offline
I added "set nocompatible" at the top of my .vimrc and it didn't fix it.
I just had a look at /etc/vimrc and it contains:
" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing archlinux.vim since it alters the value of the
" 'compatible' option.
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages.
runtime! archlinux.vim
" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
" Or better yet, read /usr/share/vim/vim72/vimrc_example.vim or the vim manual
" and configure vim to your own liking!
I am not sure how to solve this problem. Is there an option to reset all the settings?
Offline
What is the actual TE you are running?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
rxvt-unicode.
Offline
As discovered on irc, not lying about your TE helps
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Didn't know rxvt and rxvt-unicode were that different.
Offline
Pages: 1