Comments (8)
Since tmux/tmux@427b820 tmux has true color, any plan to support it?
from tmuxline.vim.
I don't think tmux understands true color (8bit) unless you patch it.
Anyway, you could do this: create a tmuxline.conf file with :TmuxlineSnapshot, then eidt tmuxline.conf (modify the colors as needed) and then source it with tmux source tmuxline.conf
.
Please let me know if you manage to achieve this - I may add it to the core of the plugin (although first vim will have to be able to use true color without any patches)
from tmuxline.vim.
Still playing around with this. Tmux correctly displays 24-bit rgb color (assuming your terminal emulator does), and I've got tmuxline configured to use my custom color mappings (0..15), still trying to figure out how to calculate and override the the xterm extended color palette with consistent truecolors calculated from the base.
from tmuxline.vim.
Here's how solarized in vim-airline and tmuxline not match when I activate true color in tmux
from tmuxline.vim.
This discussion will help one to activate true color in tmux tmux/tmux#34
I use this one tmux/tmux#34 (comment)
from tmuxline.vim.
Here's how to check true color in terminal https://gist.github.com/XVilka/8346728
from tmuxline.vim.
I use this solarized theme https://github.com/frankier/neovim-colors-solarized-truecolor-only
from tmuxline.vim.
For example, I see generated tmux theme are using ctermfg
from theme. If I use guifg
value, I successfully get true color.
Here example for OceanicNext theme:
https://github.com/mhartington/oceanic-next/blob/master/colors/OceanicNext.vim
Generated theme:
https://gist.github.com/rawaludin/e2fd38c29ddc32507a76a7178be350c1
What it should be:
https://gist.github.com/rawaludin/ab862046bdc6ac1bc5ed62d9ba13f54f
I use this setup:
let g:tmuxline_preset = {
\'a' : '#{?client_prefix,#[reverse][P]#[noreverse] ,}#{?window_zoomed_flag,#[reverse][F]#[noreverse] ,}#S',
\'win' : ['#I', '#W'],
\'cwin' : ['#I', '#W'],
\'x' : '#(focus)',
\'y' : ['%a, %b %d'],
\'z' : '%R #(bat)',
\'options' : {
\'status-justify' : 'left'}
\}
" simple
let g:tmuxline_separators = {
\ 'left' : '',
\ 'left_alt': '|',
\ 'right' : '',
\ 'right_alt' : '|',
\ 'space' : ' '}
Oh, and set -g status-utf8 "on"
is deprecated.
from tmuxline.vim.
Related Issues (20)
- tmux 1.9 compatibility
- tmux 2.9-1 issues HOT 3
- Wrong message-fg value for solarized_dark (lightline.vim theme) HOT 1
- Windows Flickering Window Problem
- Alternative way to detect for tmux?
- Transparent statusbar
- How to move tabs to the left HOT 2
- does it work with tmux-prefix-highlight ? HOT 1
- Incorrect parse of italic attribute from vim-airline palette
- eleline support
- Starting nvim resets the snapshot configuration HOT 1
- Automatically load `lightline' HOT 1
- `status-justify "left"` reverts back to `center` till vim is opened HOT 1
- tmuxline not following g:airline_left_sep / g:airline_right_sep
- support displaying coc status
- win / cwin seperators not working propperly
- Applying tmuxline theme when creating a tmux session from console ? HOT 2
- Allow appending to default statusline
- Custom status variables not working when status bar generated by running vim HOT 2
- [Question] Promptline segments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmuxline.vim.