I've somehow managed to have all tabs show up as the control character ^I
in VIm, specifically gvim 8.1.1 on Windows 10.
All I have related to tabs in vimrc is this:
set tabstop=2
I do also have these lines that point to something else, so to speak, but wouldn't expect them to have an influence on tabs showing as control characters:
source $VIMRUNTIME/mswin.vim
set nocompatible
behave mswin
I did have the following, but after thinking there could be some interaction (1, 2, 3), commented it out and still see the control characters:
" highlight tabs and trailing spaces
"set listchars=trail:-
"set list
list
still active? What do you get from command:set list?
, does it tell younolist
? If you run:set nolist
, does the problem go away?list
when I:set list?
.:set nolist
within gvim does fix it. Strangely, however,set nolist
in my_vimrc
makes no change. There is nothing about lists set in .gvimrc. Where else would this be set?vim81
andvimfiles
. Thank you for the sanity check. Want to submit "Well, it isset nolist
, but also check that you're setting it in the right place" as an answer?:verbose set list?
It shows the value and where it was last set.