Closed adivaste closed 3 months ago
Can you paste the output of :scriptnames
?
1: /etc/vimrc 2: /usr/share/vim/vim82/defaults.vim 3: /usr/share/vim/vim82/filetype.vim 4: /usr/share/vim/vim82/ftplugin.vim 5: /usr/share/vim/vim82/indent.vim 6: /usr/share/vim/vim82/syntax/syntax.vim 7: /usr/share/vim/vim82/syntax/synload.vim 8: /usr/share/vim/vim82/syntax/syncolor.vim 9: ~/.vim/vimrc 10: ~/.vim/autoload/plug.vim 11: /usr/share/vim/vim82/ftoff.vim 12: /usr/share/vim/vim82/syntax/nosyntax.vim 13: ~/.vim/plugged/lightline.vim/plugin/lightline.vim 14: /usr/share/vim/vim82/plugin/getscriptPlugin.vim 15: /usr/share/vim/vim82/plugin/gzip.vim 16: /usr/share/vim/vim82/plugin/logiPat.vim 17: /usr/share/vim/vim82/plugin/manpager.vim 18: /usr/share/vim/vim82/plugin/matchparen.vim 19: /usr/share/vim/vim82/plugin/netrwPlugin.vim 20: /usr/share/vim/vim82/plugin/rrhelper.vim 21: /usr/share/vim/vim82/plugin/spellfile.vim 22: /usr/share/vim/vim82/plugin/tarPlugin.vim 23: /usr/share/vim/vim82/plugin/tohtml.vim 24: /usr/share/vim/vim82/plugin/vimballPlugin.vim 25: /usr/share/vim/vim82/plugin/zipPlugin.vim 26: ~/.vim/pack/vendor/start/vim-airline/plugin/airline.vim 27: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/init.vim 28: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/parts.vim 29: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/formatter/short_path.vim 30: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/util.vim 31: /usr/share/vim/vim82/scripts.vim 32: /usr/share/vim/vim82/ftplugin/vim.vim 33: /usr/share/vim/vim82/indent/vim.vim 34: /usr/share/vim/vim82/syntax/vim.vim 35: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions.vim 36: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/quickfix.vim 37: ~/.vim/pack/vendor/start/vim-airline/autoload/airline.vim 38: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/netrw.vim 39: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/term.vim 40: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/section.vim 41: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/highlighter.vim 42: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/whitespace.vim 43: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/po.vim 44: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/wordcount.vim 45: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/keymap.vim 46: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/searchcount.vim 47: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/themes/dark.vim 48: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/themes.vim 49: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/builder.vim 50: ~/.vim/pack/vendor/start/vim-airline/autoload/airline/extensions/default.vim 51: ~/.vim/plugged/lightline.vim/autoload/lightline.vim 52: ~/.vim/plugged/lightline.vim/autoload/lightline/tab.vim 53: ~/.vim/plugged/lightline.vim/autoload/lightline/colorscheme/powerline.vim 54: ~/.vim/plugged/lightline.vim/autoload/lightline/colorscheme.vim
So many out there
You are using vim-airline
plugin, too.
Right now, I am using lightline
only, nothing else. ( Earlier, I was just trying out various plugins, so installed. )
Maybe I should remove other ones ?
Try rm -rf ~/.vim/pack/vendor/start/vim-airline
and then restart Vim.
Thanks! It's working as expected now.
I removed unused plugins using :PlugClean
since I am using vim-plug, and I removed the vim-airline
directory itself from ~/.vim/pack/vendor/start/
as I am no longer using it.
After going through the documentation and following all the steps, this is how my
vim
looks:(as you can see, the layout, colors, and formatting do not match the documentation)
Here is my
vimrc
file:One unexpected behavior I found while exploring was that whenever I use the command sequence
Vex
and thenq
, I get the expected layout and colors like this:However, when I change focus from the terminal tab to another tab, everything reverts to the default.
What could be the issue? Can anyone help?
(I am using
Mintty
terminal on Windows; you can watch a video of this here)