Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Comments on Vim: Can a different style be applied to a vim-terminal?

Parent

Vim: Can a different style be applied to a vim-terminal?

+2
−0

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!

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+3
−0

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.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Works for me (1 comment)
Works for me
CodeFarmer‭ wrote over 1 year ago

This works very nicely.