9/19/2023 0 Comments Iterm change colorTo help in configuring tmux and setting some appropriate defaults, the tmux plugin manager ( tpm) can be used. The theme should be compatible with all Terminal versions. Then, under the tab Terminal, make sure that the Report Terminal Type is set to xterm-256color iTerm > Preferences > Profiles > Profile Name > Colors > Color Presets Terminal. Under the tab Colors, a color preset can be chosen, like Solarized Dark. One might want to open a tmux session automatically, to do so, select in the General tab under Command ‘Login shell’ and enter the ‘Send text at start_‘: ‘ tmux _new’. There, select the appropriate profile or create one. Open iTerm2 preferences and navigate to Profiles. There is, however, some configuring to do to get a true color scheme working on a terminal emulator like iTerm, especially when combined with a terminal multiplexer like tmux. When working a lot in the terminal, one might want to borrow a piece of this visual experience in the form of an attractive true color terminal. The GUI, however, treated us with elegant visuals and a clear design that made working with it a comfortable experience that is easy on the eye. It is fast and agile and allows you to do get things done that would have taken you much more time than when you are limited to using the graphical user interface alone. Thanks for nothing, sRGB.The terminal can be an effective workhorse for achieving a job. I woke up one day and my VSCode theme was a lot dimmer+desaturated for some reason, tried finding fixes and went the nuclear route. Color space foolery was actually one of the reasons I decided to use VSCode less. I’m sensitive to this kinda stuff, so it’s really nice to have colors figured out. Here’s the same theme with Minimum Contrast set to 0 and 75, respectively. Basically, if you have Minimum Contrast (Profiles > your profile > Colors | Basic Colors) set high enough, it’ll desaturate your colors. I didn’t have this setting on, but found it while testing things out. Minimum Contrast Contrasts with Perfection They’re not exactly the same (which I’ll naively attribute to color space weirdness) but they’re close enough for me, a satisfactory solution I spent an entire day goofing around to find. Setting it to 0 made colors much more vibrant, which was my primary peeve. I didn’t realize it for the longest time, I have no idea when I even turned it on, but I found that it “boosts” the cursor by dimming everything else. (Profiles > your profile > Colors | Cursor Colors) The greatest change among all of them was to set Cursor Boost to 0. It’s not too major of a change, you may not even notice it on your end (maybe because of image quality) but the difference was pretty stark to my WEAK eyes. Here’s nvim in iTerm (left) and Alacritty (right)Īlacritty’s text looks much bolder, no? It really contributes to a different color perception (and higher readability.)Ī nice modification was to disable anti-aliased font. iTerm’s text rendering just feel too “light” to me. But if you want extra brownie points, better colors, and a more cohesive look, it helps to have iTerm’s color preset match Neovim’s.Ī big I wanted to solve was text readability. Presumably this is less of an issue if you use a terminal brightness that matches your Neovim brightness (light-light or dark-dark.) Here’s the same theme with iTerm’s Dark Background preset. Here’s catppuccin nvim with iTerm’s Light Background preset. Playing around with Color Preferences, I found that iTerm has a phenomenon where iTerm2’s background color “bleeds through” Neovim color themes. (Alacritty and iTerm2 were both off from the preview, but iTerm was just “more off”)Īfter scouring forums and git discussions and testing a bunch of different configs + settings, I’ve discovered 4 problems and their solutions: 1. Juggling color spaces is apparently a very difficult thing for many applications to do. These fixes aren’t too technical, just some settings things that some people might easily miss. My eyesight isn’t great, but I could easily tell that the colors were dimmer / washed out / lacking in gamma. An issue I ran into from setting up color themes, however, was that my iTerm2 colors looked pretty off from what the color theme previews did, and even more off from the same theme running in Alacritty, which I installed to troubleshoot this stuff (I really don’t wanna use Alacritty, iTerm2 is super nice.) I’ve recently been spending some time configuring Neovim to look and feel the way I’d like. Fix iTerm2 Neovim Dim Colors/Color Space Issues
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |