nordtheme / tmux Goto Github PK
View Code? Open in Web Editor NEWAn arctic, north-bluish clean and elegant tmux color theme.
Home Page: https://www.nordtheme.com/ports/tmux
License: MIT License
An arctic, north-bluish clean and elegant tmux color theme.
Home Page: https://www.nordtheme.com/ports/tmux
License: MIT License
I've got my statusline along the top of my screen, I don't think forcing it to the bottom is in the scope of a theme.
The theme should be implemented to match the Nord Vim port project regarding the layout and UTF8 character design.
The initial implementation should include styles for the left- and right status bars, the windows and panes.
Furthermore optimized styles for the command line and messages.
A configuration for EditorConfig should be added.
The documentation should include instructions on how to install the theme with the plugin manager tpm.
❭Nord Backlog: arcticicestudio/nord #30
❭Related to arcticicestudio/nord #16
It looks like the screenshot in the README for copy mode actually has the colors inverted when you compare it to nord.conf
.
I'm not sure which one was the intention -- to match the prefix highlight like the screenshot, or to make it distinguishable from the prefix highlight like the source file.
Do I need to set 16 terminal colour space if I have full support for true colour?
Supporting that plugin would be great.
I installed the theme as recommended and now my tmux terminal looks like this:
Here is my .tmux.conf:
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using h and v
bind -n M-h split-window -h
bind -n M-v split-window -v
#unbind '"'
#unbind %
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# Reload tmux.conf with r
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
# color stuff
#xterm-256color
set -as terminal-overrides ",xterm-256color*:Tc"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
set -g @plugin "arcticicestudio/nord-tmux"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Are there any settings I am missing?
This theme currently shows the full hostname including any domain information: #H
, e.g. node.site.domain.tld
This can be quite long and if so may get cut off (see #26)
I would request that instead only the "short" hostname, without domain information be shown: #h
I thought this would be a simple fix but I tried replacing #H
with #h
in nord-status-content.conf and nord-status-content-no-patched-font.conf in ~/.tmux/plugins/nord-tmux/src/ and relaunched tmux... that didn't seem to do it, unfortunately. I'm not sure what more needs to be done.
➜ Please see the corresponding issue nordtheme/web#152 for tasks on the side of Nord Docs.
This issue documents the transfer of all documentations and content assets of Nord tmux to the shiny new website and documentation of Nord, the new single-source-of-truth™.
To get some numbers about the size changes of the Git repository before and after the migration, these are the statistics of the current repository state.
Processing blobs: 1496
Processing trees: 2003
Processing commits: 359
Matching commits to trees: 359
Processing annotated tags: 15
Processing references: 20
| Name | Value | Level of concern |
| ---------------------------- | --------- | ------------------------------ |
| Overall repository size | | |
| * Commits | | |
| * Count | 359 | |
| * Total size | 263 KiB | |
| * Trees | | |
| * Count | 2.00 k | |
| * Total size | 576 KiB | |
| * Total tree entries | 15.3 k | |
| * Blobs | | |
| * Count | 1.50 k | |
| * Total size | 74.2 MiB | |
| * Annotated tags | | |
| * Count | 15 | |
| * References | | |
| * Count | 20 | |
| | | |
| Biggest objects | | |
| * Commits | | |
| * Maximum size [1] | 5.41 KiB | |
| * Maximum parents [2] | 2 | |
| * Trees | | |
| * Maximum entries [3] | 37 | |
| * Blobs | | |
| * Maximum size [4] | 886 KiB | |
| | | |
| History structure | | |
| * Maximum history depth | 336 | |
| * Maximum tag depth [5] | 1 | |
| | | |
| Biggest checkouts | | |
| * Number of directories [6] | 372 | |
| * Maximum path depth [6] | 9 | |
| * Maximum path length [6] | 101 B | * |
| * Number of files [6] | 991 | |
| * Total size of files [6] | 33.5 MiB | |
| * Number of symlinks | 0 | |
| * Number of submodules | 0 | |
[1] 75abc0e771d2309c7c29bcc8ae99f6ed83bfc8d9
[2] ecfbb476de69819494b19f92c25a4a1635b3b118
[3] 6105753f98d95a132eeb4573e181ff664fcc78e2 (refs/heads/develop:src/components/organisms/page/ports)
[4] 4eff59d9efebba259db30893f637831a036c627b (refs/heads/develop:assets/images/decorations/paint-brush.ai)
[5] 4605999c8a99ecedeb271a6e21422b3e64db0bd4 (refs/tags/v0.1.0)
[6] 0dc23eb14f7971ad24f760fc0b523211b867cbe5 (refs/heads/develop^{tree})
The report has been generated using GitHub's awesome git-sizer project:
git-sizer --verbose
I tried to add pomodoro to my tmux status bar by adding set -g @plugin 'olimorris/tmux-pomodoro-plus'
and setting set -g status-right "#{pomodoro_status}"
but couldn't make it working .
Should i do something with plugins/nord-tmux folder ??
Hi,
I'm having a little bit of an issue.
I have customised the right status content to include some extra plugins. However, when I restart my computer, the left status content looses its theming.
Left status content after restart:
However, the right side is fine:
My tmux conf:
# Remap prefix from 'C-b' to 'C-space'
unbind C-b
set-option -g prefix C-space
bind-key C-space send-prefix
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'arcticicestudio/nord-tmux'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cpu'
# Enable mouse mode
set -g mouse on
# Set default icons for battery plugin
set -g @batt_charged_icon "😎 "
set -g @batt_charging_icon "👍 "
set -g @batt_attached_icon "😐 "
set -g @batt_full_charge_icon "🌕 "
set -g @batt_high_charge_icon "🌖 "
set -g @batt_medium_charge_icon "🌗 "
set -g @batt_low_charge_icon "🌘 "
# Set prefix text for prefix and copy modes
set -g @prefix_highlight_prefix_prompt " Prefix "
set -g @prefix_highlight_copy_prompt " Copy "
# Setup right status bar
set -g status-right-length "60"
set -g @nord_tmux_show_status_content "0"
set -g status-right "#{prefix_highlight}#[fg=brightblack,bg=black,nobold,noitalics,nounderscore]#[fg=white,bg=brightblack] #{battery_icon}#{battery_percentage} #{cpu_icon} #{cpu_percentage} #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]#[fg=white,bg=brightblack] %I:%M%p #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore]#[fg=black,bg=cyan,bold] #H "
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
I can solve this issue manually through these steps:
Step 1: Change this set -g @nord_tmux_show_status_content "0"
to set -g @nord_tmux_show_status_content "1"
and then run tmux source-file ~/.tmux.conf
.
Step 2: Change set -g @nord_tmux_show_status_content "1"
back to set -g @nord_tmux_show_status_content "0"
and then re-run tmux source-file ~/.tmux.conf
.
This gives me the result I want:
However, this is annoying...
Thanks in advance and love everything artic!
Hello. This seems kinda silly, but nord tmux seems to be preventing Vim colour schemes from working.
I've followed all of the installation instructions and added a terminal theme to Gnome Terminal and Tmux its self looks great, but whenever its running, vim colour schemes seem to be suppressed and aren't showing as anything more than basic white text.
Hi,
I wanted to use tmux-battery and tmx-cpu plugins with this theme but icons seem to be behind status content. Can you add support for those?
Loved the theme!
This is a fresh install with no configuration. I am using Konsole with the nord Konsole port and the default Konsole font (Hack)
Here is what it looks like with the first window highlighted:
Here is what it looks like with the second window highlighted:
It looks it did add the arrows however it didn't color the background of the highlighted window correctly, instead it inverted it making it darker. The result is a mess that is hard to understand by looking which element is selected.
It also looks like the colors are inverted somehow. I would expect that the selected window is highlighted in a lighter color as well as the patched font arrow element. The way it is rendered now makes it very unintuitive and I end up clicking on the wrong window every time.
I tried applying different color schemes from Konsole (aside from Konsole Nord), it does change the colors of the bar but the arrows are still rendered wrong in each scheme.
I tried applying different fonts, same result, the size and style of the bar changed but it was still rendered wrong in the same way.
I tried applying a powerline font that was mentioned as a solution here: #52. This did not work, it still renders the same no matter what font I choose.
I also tried using the Nerd Hack patched font from here: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack/Regular/complete. Same result it did not work.
Even this setting doesn't work: set -g @nord_tmux_no_patched_font "1"
it still leaves a messy block between the windows and the active window is still dark when it should be light
The #!/usr/bin/env bash
hashbang in the nord.tmux
plugin loader is missing and the file is not executeable to due the missing file permission x
bit.
This caused tpm
to exit with code 126
.
Some color-settings in the nord.conf are obsolete since tmux 2.9
This is the output if I put the respective settings manually in my tmux.conf and try to start tmux:
A pull request #34 is already submitted by @goronfreeman
firstly I'm using google translator, because I'm Brazilian and i still don't know English (that is, you can see mistakes in the translation)
secondly, my tmux n is working with your theme, it gets all buggy
(I don't know how to let the image appear in the issue)
this image and after I install the tmp and press the prefix and I, to install the nord
First, thanks for the awesome color scheme. I've never been happy with a color scheme until I found nord 😄 .
This particular repo appears to be more than a color scheme, though. It actually sets the status bar content. This makes it impossible to override the status bar successfully while using plugins like prefix highlight. Have you considered making this strictly a color scheme plugin? Like, something similar to https://github.com/seebi/tmux-colors-solarized, where things like the content of status-right
are left up to the user? It seems a bit odd that a color scheme plugin would actually dictate the content of the status bar itself.
I personally like the no patched version more from nvim, so when I tried to match my tmux color scheme with set -g @nord_tmux_no_patched_font "1"
, instead of neatly connected color blocks, on the lower left corner there are two disjoint boxes. Is there a way to fix this?
is the mode indicator (copy, prefix held, etc) gone?
Thanks for very great repo. I think it would be better to support tmux-prefix-highlight which could highlight when pressing tmux prefix key to indicate whether you press the prefix key. I have tested that if you did not install this plugin, the status line would not be influenced, so it is compatible for people who do not love it.
Loving Nord, and my tweet got the attention of the byobu author and friend @dustinkirkland.
byobu is a rather 'wrapper' and new UI around screen, or more commonly, tmux. I have spent quite some time mucking with ~/.byobu/color.tmux
setting BYOBU_DARK
to any one of nord0, ...nord3
to mimic what the (awesome !!) nord-emacs mode does the modeline: a darkish blue that meshes well with the main colour.
But not luck. Is there something else going on with color intensity I need to take into account? Having the emacs colors in tmux (while keeping byobu semantics) would be close to dream state for me...
I tried to get another terminal to fix another bug and got nightly confused. Here is the terminal session with some debugging:
Clearly the last command does not output the right colours and therefore I cannot use the Nord theme -- or at least, no how it is intended.
What am I doing wrong?
Subtask of nordtheme/nord#55
Adapt to the MIT license migration of the main Nord project. Detailed information can be found in the main task ticket.
LICENSE.md
contentI just installed the Nord theme using the tpm plugin and the instructions here: https://www.nordtheme.com/ports/tmux.
After Prefix + I
I saw the borders changed to the Nord theme (nice!) however text inside the terminal did not. It is still the default tmux coloring.
I am using Konsole, I copied the nord.colorscheme to /home/oem/.local/share/konsole/ and activated it according to the instructions here: https://github.com/arcticicestudio/nord-konsole.
I have checked and the terminal supports true color according to: https://gist.github.com/XVilka/8346728
Did I miss something? Are there additional config steps to get the text working?
I've tried to install this theme on my ubuntu pc and instead of the arrow glyphs that you're supposed to get, I get these weird symbols.
I found that If I go into my ./tmux.config file and put in the line
set -g @nord_tmux_no_patched_font "1"
The bars and symbols disappear competently.
I also know that my terminal supports and is running 24 bit True Color.
On top of that, all of the text within the terminal is white. So, they folders don't inherent their color from the Nordic theme that is already in my Gnome Terminal
Just installed the script in Debian stretch and now I can't really use the terminal anymore Tried to use the uninstall script but no luck. Any other suggestion to restore my default terminal? tried to copy .bashrc and .profile over but still no luck.
I don't want to reinstall my server...
Thanks
So I saw this theme series and thought I'd start installing some of the theme, and I installed the tmux theme and the only issue I'm having now is this.
I'm not entirely sure what I'd need to give you for this, but here's my tmux.conf
.
I want to say it's an issue with line 84
set -g default-terminal "screen-256color"
or that I need to specify for tmux to use UTF-8?
or does the styling in the nord plugin not work with rxvt-unicode?
I would really like to see an option to customize the date format that is in the status content.
It would be nice to have a way to customize the date and time format in the status bar.
It'd be useful to make the use of patched fonts optional (same as in lightline).
Hi, awesome theme (along with the compatibility with a bunch of programs)!
When I activate the prefix highlight, all the other right aligned statusbar items are pushed to the right 3 characters. With the copy highlight, the other items are moved 1 character.
This is all with the non-patched version.
As I don't want to use tpm
. I installed your theme manually but we need to source nord-status-content.conf
also, otherwise the theme does not work as expected
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.