You are not logged in.
I am getting E474: Invalid argument launching vim and have been trying to solve it using locales via the wiki, I have the following .vimrc:
scriptencoding utf-8
set encoding=utf-8
syntax enable
colorscheme badwolf
set tabstop=4
set expandtab
set number
set showcmd
set list
set listchars=tab:›,trail:-,extends:>,precedes:<,eol:¬
and have exported LANG and LANGUAGE after discovering LANG was set to C:
[bb@yte ~]$ export LANG="en_US.UTF-8"
[bb@yte ~]$ export LANGUAGE="en_US.UTF-8"
I checked /etc/locale.gen which has en_US.UTF-8 UTF-8 uncommented. And during instalation I folowed the procedures layed out in the beginners guide on the arch wiki. Did I somehow screw up my locale? Or is there something I am missing?
I hope someone who uses vim here can help me.
Last edited by meschael (2014-09-24 23:52:11)
Offline
You shouldn't need to export those vars if your locale is set up correctly: https://wiki.archlinux.org/index.php/Locale
Offline
Ok I have redone all of that and now I get
[bb@yte ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
but still have the same problem, maybe its unrelated to my locale. Any other ideas?
Offline
Easy enough to test: launch vim with no .rc and then add your lines back one by one until you identify the dud...
Offline
the dud is the last line set listchars=tab:›,trail:-,extends:>,precedes:<,eol:¬ , has anyone tryed to use unicode in listchars before?
Please delete this thread if you may, I belive my question is not related to arch or its configuration but to vim.
Last edited by meschael (2014-09-25 00:12:19)
Offline
Please post what you have found: https://wiki.archlinux.org/index.php/Fo … way_Street
Offline
I found http://www.networketiquette.net/interne … netiquette
Read it sometime and stop being so cocky, seriously im done.
Offline
Cocky? You ask for help, so I do my best. Then you decide you can't be bothered to share what you have learned, instead you abuse me.
Seriously?
Offline
@jasonwryan,
I was reading this thread; then when I got to the last two posts ... I could not stop laughing
No matter how hard you try, sometimes, you just need to walk away and not think too much about what just happened
R.
Offline
I'm clearly going soft. A while back, I would have just swung the banhammer...
Offline