I'm using terminal vim with the solarized-light theme for both vim and my terminal. If I try and use for example a dark colour scheme for my terminal a dark border appears around my vim window as shown in the image below.
Is there a setting I can change to remove this border, or reduce its width to 0?
You can't do that from Vim and your terminal emulator doesn't expose an option for that either.
So… use the same background color.
Nothing to do with vim it's a terminal background. There's no simple solution. Use the same background color or change a font. Some fonts with certain sizes ideally fit into terminal width and height. Bitstream font works for me.
Related
I trying to setup the solarized color scheme for Emacs running in terminal mode. I use
https://github.com/bbatsov/solarized-emacs.git 's solarized-dark theme. However while this works for desktop windows the colors are modified when running in terminal mode emacs -nw:
The color is a dark blue while the standard background for solarized dark
is dark and geenish:
The standard background color #002b36 is defined here. I tried to change it but there seem to be an interpolation layer inside Emacs that changes it to blue unless I change it to something more different like black.
Does anyone know howto configure Emacs to support more color shades?
I'm running inside Kconsole but can see the same behaviour in gnome-terminal.
By default terminal works in 16 colors mode. You have to set environment variable TERM:
export TERM=xterm-256color
I'm using zsh, so I put this line in my ~/.zshrc file.
https://github.com/sellout/emacs-color-theme-solarized handles solarized dark theme colors in terminal mode.
Anyone know how to change the color theme in emacs shell mode? I'm using the latest emacs 25.3.1 and in shell mode, I find that the stdout font color always becomes red after a dash (in attached image link). It is really annoying and I don't know what to do with it, I want it be white just like other stdout text. I have "(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)" in my .emacs, but seems it does not do anything.
I want the color scheme to span completely across the terminal boundaries. I am using Color Scheme Scroller Plugin to switch between different theme. I have uploaded a .gif file so that you can clearly see what I want to get fixed. Vim colorschemes doesn't completely change the color of editor. There are some terminal color's borders left around the vim's overridden color scheme. How would I fix it.
Please check the image on this link. Stackoverflow doesn't allow uploading an image > 2Mb
You can't do that from Vim itself.
Terminal emulators use that padding to preserve readability when characters are displayed next to the borders of the window. The programs you run in your terminal have no knowledge of that padding and thus no ability to change it.
But you can read the documentation of your terminal emulator or take a look at its source code to find a way to enable/adjust/disable that padding.
FWIW, there's no way to change that in Terminal but it can be done for iTerm.
Alternatively, you could simply set the background color of your terminal to the one used in your vim colorscheme.
The image appears to depict behavior outside vim's control:
it is using a terminal emulator (could be xterm, could be some other).
the terminal emulator draws character cells on a window
those cells form a grid; the window may extend beyond the grid
the window can have a background color
the grid can have a background color
within the grid, most terminals provide some capability of drawing text with specific foreground and background colors
the grid can have a default background color which is not any of the specified colors
outside the grid, the window can also have a default background color
normally, the grid- and window-default backgrounds are the same
the window can be resized to (more or less) arbitrary sizes
the grid is constrained to exact character sizes
because of this difference, the window can have areas outside the grid which use its default color, and not match the grid's background color.
escape sequences which could affect the grid- and window-background colors are doing erases (see for example the ncurses FAQ My terminal shows some uncolored spaces).
though it is conceivable that erasures within the grid could affect those outside areas, doing that generally leads to odd visual effects.
I added a color theme expected to be, in which the background color is lighter than black.:
But my my color theme looks complete dark. Whats wrong with it?
Did you check your profile settings of your terminal app? Looks like you are running the standard mac terminal. Adding color to the terminal
when i running Terminal-VIM in fullscreen-mode with a Colorscheme there are still a small border from the standard terminal background color.You can see right and down.
Is there a easy way to fix this that there are always the background color from the scheme i use? Or a easy way with the vimrc ?
best regards
The only fix is to have your terminal and vim's background use the same color. Or make vim not have a background color.
Some terminals like urxvt allow you to define the width of that gutter, maybe your terminal does too.