1

I am using vim with lxterminal, and the colorscheme kolor, and I am experiencing an issue where vim's background color does not fill the entire terminal.

vim background

It can be seen clearly at the bottom of this screenshot, as you can see the color of my terminal. My .vimrc is as follows;

syntax on          " Enable syntax highlighting

set number         " Enable line numbers
set smartindent    " Automatically indent text
set tabstop=4      " Set tab width to 4 spaces
set shiftwidth=4   " Indent text when using '>'
set expandtab
set nocompatible   " Disable compatibility mode (prevent ABCD key bugs)
set viminfo=

filetype plugin on " Enable filetype plugins

au BufNewFile,BufRead *.ino set filetype=cpp " Alias arduino (ino) files

I have tried changing my TERM environment variable to screen-256color, but to no avail. TERM is currently set to xterm-256color.

1

You have to change change LXTerminal theme to kolor also, because from what I see, you are using solarized for the terminal.

2
  • That sounds like a bit of a pain, seeing as in the future I may want to change my terminal (or vim) themes, without changing the other. Is there not an easy way to force vim to change the entire window's color? Dec 28 '13 at 18:31
  • I don't know of one, for terminal/vim schemes I use github.com/chriskempson/base16-builder which generates themes for both. I use termite for my terminal. Dec 28 '13 at 18:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.