You are not logged in.
Hey guys,
I'm having problems with getting vim to display UTF-8 characters. Error message I get is:
Error detected while processing /home/wolfie/.vimrc:
line 67:
E595: contains unprintable or wide character: showbreak=↪My .vimrc:
scriptencoding utf-8
" Forget being compatible with good ol' vi
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin('~/.vim/vundle')
Bundle 'Lokaltog/vim-easymotion'
Bundle 'jamessan/vim-gnupg'
call vundle#end()
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
set hls
set is
set ignorecase
set smartcase
" Why is this not a default
set hidden
" Don't update the display while executing macros
set lazyredraw
" At least let yourself know what mode you're in
set showmode
" Enable enhanced command-line completion. Presumes you have compiled
" with +wildmenu. See :help 'wildmenu'
set wildmenu
set scrolloff=5
set wildmode=longest,list
set backspace=indent,eol,start
if has('mouse')
set mouse=a
endif
set nobackup
syntax enable
set bg=dark
set autoindent
set tabstop=4
set shiftwidth=4
set softtabstop=4
set ff=unix
set tags=tags;
set showbreak=↪
set relativenumber
set number
colors molokai
set exrc " enable per-directory .vimrc files
set secure " disable unsafe commands in local .vimrc files
" Get that filetype stuff happening
filetype on
filetype plugin on
filetype indent on
" Turn on that syntax highlighting
syntax onMy terminal supports UTF-8. I've tried adding `set enc=utf-8` to top of the .vimrc, didn't help. My locale is en_US.UTF-8.
Weird thing is, that this same .vimrc works on my other computers and they really should be different.
Does anyone has any tips where to look or what more additional info should I post?
Thanks for help
Last edited by gray_-_wolf (2016-03-30 13:23:00)
Offline
What is the actual problem, what are you seeing / not seeing? Are your other computers also running Arch Linux? Also, please use code tags as it makes configs etc. easier to read.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Actual problem is that Vim (GVim neither) doesn't display UTF-8 characters beyond one byte lenght. Also line break symbol as set by `showbreak` is not used, I just don't have any. I added error message I get into original post:
Error detected while processing /home/wolfie/.vimrc:
line 67:
E595: contains unprintable or wide character: showbreak=↪Yes, both machines are running archlinux.
I added code tags into OP, sorry about that.
Last edited by gray_-_wolf (2016-03-30 12:50:15)
Offline
FWIW, I can reproduce the issue with vim 7.4.1639-1. What OS/distro are your other computers running? Which Vim version is installed on them?
Offline
Oh, different Vim versions. Didn't notice, stupid me. Will report a bug. Thanks guys
Offline