Question

I'm using MacVim and Vim-R to interactively edit and run R code. Everything seems to be working fine, but I can't seem to figure out how to set the background color in the tmux window that R runs in.

To be precise: I open up a .r file with MacVim. Then I type _rf, which causes XQuartz to start up, and a window with the title 'tmux' to open up with R running inside of it. When I highlight lines of code and send them to R from MacVim, everything seems to work fine. But the default background color of the tmux window is white, which makes the nicely colored output text hard to read.

How can I change the background color of the tmux window to something darker?

Était-ce utile?

La solution

See this part of the doc to force your plugin to use the right terminal emulator.

If you don't want to do that (I think that you should), you can configure the appearance of xterm in the ~/.Xresources file. This guide gives you useful examples.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top