Visual in cterm
missing reverse
#222
Replies: 3 comments
-
Hi @raggi 👋, thanks for your contribution 👍🏼 I've tried to reproduce the problem, but this is some of these typical “works on my machine“ situations: gh-243-reproduction.mp4When setting the gh-243-hi_visual_reverse.mp4If this is what you'd like to have selection look like you can simply use it by overriding the highlighting group only when Nord is set as active colorscheme. Anyway, in order to ensure the problem is related to the Nord theme you need to reproduce it with a minimal and clean configuration. This can be done by creating new configuration file with any name (e.g. Here's an minimal test configuration you can use to try to reproduce the problem (supposed you're using vim-plug): call plug#begin(expand('~/.vim/plugged'))
Plug 'arcticicestudio/nord-vim'
call plug#end()
set nocompatible
if (has("termguicolors"))
set termguicolors
endif
syntax enable
colorscheme nord As you can see in the example configuration I've added the Unfortunately terminal colors are quite complex due to their long history, but modern terminal emulators should be all capable of rendering "True Colors". You should make sure to check out the great “Terminal Colors“ gist that provides many details about color rendering in terminal emulators, tracking of supported terminal emulator projects and answers to common confusions about terminal colors. The “Colours in terminal“ gist is also quite helpful to learn more about the actual rendering engines and standards used by these terminal emulators. Could you please try to either use the example configuration or set the |
Beta Was this translation helpful? Give feedback.
-
Thank you for the prompt and detailed response. I think the issue I experienced was rooted in termguicolors not being set, which is as you say, somewhat of a mess derived from TTY history, as we have yet to see a standard for termcap to advertise 24bit color support, which means termguicolors can not be derived from the environment. I was able to demonstrate, after installing termcaps for both my terminal emulator, and tmux by hand (thanks macOS), that setting termguicolors then works for me. I had to install the termcaps otherwise other side effects came about, which is very sad. So I think the bug I want to report is therefore different, which is that the 256 color fallback is not usable, specifically, in my original case, without termguicolors set, the highlight in visual mode was completely invisible. What I'd like is a fallback that is in some way visible instead, as this way I can sync profiles using this colorscheme to remote machines that may or may not have sufficient preconfiguration as to support 24bit well over remote connections such as ssh. As I write this, I do now see in the readme it says I'd love to have a more usable fall-back for 256 color, but it's also fine by me if you are constraining the project to 24bit only. |
Beta Was this translation helpful? Give feedback.
-
@raggi Thank you for your patience! 🙏🏼 I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“. Read the announcement about reaching the “clean“ contribution triage state in Nord‘s discussions for more details about the goal. Due to the scope of this issue of not being “purely technical“, or being related to the project‘s code at all, I‘ll convert it into a discussion for Nord‘s central community hub on GitHub. This way the repository is easier to maintain by separating conversations about the actual code while also making help requests, ideas and other contributions from users more visible and supportable by the community. @raggi Would be nice if you could quickly check if this discussion can be closed since this is not related to this theme‘s code. |
Beta Was this translation helpful? Give feedback.
-
hi Visual
appears to be missing a color setting for cterm, resulting in visual selection and block selection being invisible.I set
hi Visual cterm=reverse
in order for it to be usable.Beta Was this translation helpful? Give feedback.
All reactions