Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Vim: Can a different style be applied to a vim-terminal?
I often open an terminal within vim via: :vert term
. The terminal opens on the right side with the same style (background and foreground colors) as my vim style.
Is it possible to change the style in the terminal pane? And if it is possible what are the steps?
Thanks!
1 answer
The following users marked this post as Works for me:
User | Comment | Date |
---|---|---|
CodeFarmer |
Thread: Works for me This works very nicely. |
Feb 7, 2023 at 23:28 |
All available "styles" are listed in :help highlight-groups
.
You will find that hl-Terminal
is one of them.
As an example, to make the Vim terminal background dark blue, use
:hi Terminal ctermbg=darkblue guibg=darkblue
guibg
applies for Gvim and ctermbg
for terminal Vim.
0 comment threads