Fix time preset

This commit is contained in:
Rico Sta. Cruz 2015-04-20 15:09:14 +08:00
parent 72c944dea9
commit 54c4cd23a9
4 changed files with 65 additions and 6 deletions

View File

@ -11,8 +11,8 @@ layout: default
%b %e %a - Jan 5 Sun
Time presets
%H:%M - 23:05
%I:%Mp - 11:05PM
%H:%M - 23:05
%I:%M%p - 11:05PM
Weekday
%a - Sun

59
tmux.md
View File

@ -51,3 +51,62 @@ layout: default
### Niceties
C-b t # Time
## Status formats
```
setw -g window-status-format `#[fg=8,bg=default]#I`
```
See `message-command-style` in the man page.
### Attribute/colors
| `#[fg=1]` | standard color |
| `#[fg=yellow]` | yellow |
| `#[bold]` | bold |
| `#[fg=colour240]` | 256 color |
| `#[fg=default]` | default |
| `#[fg=1,bg=2]` | combinations |
| `#[default]` | reset |
### Colors
* `black` `red` `green` `yellow` `blue` `magenta` `cyan` `white`
* `brightred` (and so on)
* `colour0` ... `colour255`
* `#333` (rgb hex)
### Attributes
* `bold` `underscore` `blink` `noreverse` `hidden` `dim` `italics`
### Variables
| `#(date)` | shell command |
| `#I` | window index |
| `#S` | session name |
| `#W` | window name |
| `#F` | window flags |
| `#H` | Hostname |
| `#h` | Hostname, short |
| `#D` | pane id |
| `#P` | pane index |
| `#T` | pane title |
## Options
set -g status-justify [left|centre|right]
set -g status-left '...'
setw -g window-status-style
setw -g window-status-activity-style
setw -g window-status-bell-style
setw -g window-status-content-style
setw -g window-status-current-style
setw -g window-status-last-style
setw -g window-status-format
setw -g window-status-current-format
setw -g window-status-separator

View File

@ -3,7 +3,7 @@ title: Unicode symbols
layout: default
---
' \u2708 airplane
\u2708 airplane
❄ \u2744 snowflake
⚑ \u2691 flag
☯ \u262f yinyang

View File

@ -64,13 +64,13 @@ title: Vim digraphs
| ▶ | ▷ | ◀ | ◁ |
| PR | Tr | PL | Tl |
| » | « | 〈 | 〉 | | |
| >> | << | </ | /> | <1 | >21 |
| » | « | 〈 | 〉 | | |
| >> | << | </ | /> | <1 | >1 |
### Arrows
| ← | → | ↑ | ↓ | ↕ | ↔ |
| <- | -! | -> | -v | UD | <> |
| <- | -> | -! | -v | UD | <> |
| ⇐ | ⇒ | ⇔ |
| <= | => | == |