Xu Xiaodong avatar Xu Xiaodong committed cb7f1e6

add colorscheme for tmux

Comments (0)

Files changed (4)

 set -g default-terminal "screen-256color"
 set -g display-time 3000
 set -g history-limit 65535
+set -g base-index 1
+set -g pane-base-index 1
+set -s escape-time 0
 
 #-- bindkeys --#
 
 
 set -g status-justify centre
 
+set -g status-left "#[fg=green]#S:#I.#P#[default]"
+set -g status-left-attr bright
 set -g status-left-length 20
-set -g status-left "[#[fg=green]#S:#I.#P#[default]]["
-set -g status-left-attr bright
 
-set -g status-right "][#[fg=green]#(/home/xiaodong/bin/uptime)#[default] • #[fg=green]#(cut -d ' ' -f 1-3 /proc/loadavg)#[default]]"
+set -g status-right "#[fg=green]#(/home/xiaodong/bin/uptime)#[default] • #[fg=green]#(cut -d ' ' -f 1-3 /proc/loadavg)#[default]"
 set -g status-right-attr bright
 
-set -g status-bg black
-set -g status-fg yellow
+#set -g status-bg black
+#set -g status-fg yellow
 
-setw -g window-status-current-attr bright
+#setw -g window-status-current-attr bright
 #setw -g window-status-current-bg red
 #setw -g window-status-current-fg white
 
 set -g status-utf8 on
 set -g status-interval 1
 
-#set -g visual-activity on
-#setw -g monitor-activity on
+set -g visual-activity on
+setw -g monitor-activity on
 
 setw -g automatic-rename off
 
 set -g status-keys vi
 setw -g mode-keys vi
 
+#-- colorscheme --#
+#-- see also: https://github.com/seebi/tmux-colors-solarized --#
+
+# default statusbar colors
+set -g status-bg colour235 #base02
+set -g status-fg colour136 #yellow
+set -g status-attr default
+
+# default window title colors
+setw -g window-status-fg colour244
+setw -g window-status-bg default
+#setw -g window-status-attr dim
+
+# active window title colors
+setw -g window-status-current-fg colour166 #orange
+setw -g window-status-current-bg default
+#setw -g window-status-current-attr bright
+
+# pane border
+set -g pane-border-fg colour235 #base02
+set -g pane-active-border-fg colour240 #base01
+
+# message text
+set -g message-bg colour235 #base02
+set -g message-fg colour166 #orange
+
+# pane number display
+set -g display-panes-active-colour colour33 #blue
+set -g display-panes-colour colour166 #orange
+
+# clock
+setw -g clock-mode-colour colour64 #green
+
 #-- apps --#
 
 new -s funtoy vim
 neww -n root zsh
-neww zsh
+neww -n zsh zsh
 
-selectw -t 1
+selectw -t 2

.vim/colors/busybee.vim

-" Maintainer:	Patrick J. Anderson
-" Version:      1.0.1
-" Last Change:	February 23, 2009
-" Credits:      This is a modification of Mustang.vim color scheme
-
-set background=dark
-
-hi clear
-
-if exists("syntax_on")
-  syntax reset
-endif
-
-let colors_name = "busybee"
-
-" Vim >= 7.0 specific colors
-if version >= 700
-  hi CursorLine    guibg=#202020 ctermbg=234
-  hi CursorColumn  guibg=#202020 ctermbg=234
-  hi MatchParen    guifg=#d0ffc0 guibg=#202020 gui=bold ctermfg=157 ctermbg=237 cterm=bold
-  hi Pmenu 		   guifg=#ffffff guibg=#202020 ctermfg=255 ctermbg=238
-  hi PmenuSel 	   guifg=#000000 guibg=#b1d631 ctermfg=0 ctermbg=148
-endif
-
-" General colors
-hi Cursor 		   guifg=NONE    guibg=#626262 gui=none ctermbg=241
-hi Normal 		   guifg=#e2e2e5 guibg=#202020 gui=none ctermfg=253 ctermbg=234
-hi NonText 		   guifg=#808080 guibg=#202020 gui=none ctermfg=244 ctermbg=235
-hi LineNr 		   guifg=#303030 guibg=#202020 gui=none ctermfg=244 ctermbg=232
-hi StatusLine 	   guifg=#d3d3d5 guibg=#303030 gui=none ctermfg=253 ctermbg=238
-hi StatusLineNC    guifg=#939395 guibg=#303030 gui=none ctermfg=246 ctermbg=238
-hi VertSplit 	   guifg=#444444 guibg=#303030 gui=none ctermfg=238 ctermbg=238
-hi Folded 		   guibg=#384048 guifg=#a0a8b0 gui=none ctermbg=4 ctermfg=248
-hi Title		   guifg=#f6f3e8 guibg=NONE	gui=bold ctermfg=254 cterm=bold
-hi Visual		   guifg=#faf4c6 guibg=#3c414c gui=none ctermfg=254 ctermbg=4
-hi SpecialKey	   guifg=#808080 guibg=#343434 gui=none ctermfg=244 ctermbg=236
-
-" Syntax highlighting
-hi Comment 		   guifg=#3f3f3f gui=italic ctermfg=244
-hi Todo 		   guifg=#8f8f8f gui=none ctermfg=245
-hi Boolean         guifg=#b1d631 gui=none ctermfg=148
-hi String 		   guifg=#606060 gui=none ctermfg=148
-hi Identifier 	   guifg=#b1d631 gui=none ctermfg=148
-hi Function 	   guifg=#ffff00 gui=none ctermfg=255
-hi Type 		   guifg=#7e8aa2 gui=none ctermfg=103
-hi Statement 	   guifg=#7e8aa2 gui=none ctermfg=103
-hi Keyword		   guifg=#ff9800 gui=none ctermfg=208
-hi Constant 	   guifg=#ff9800 gui=none  ctermfg=208
-hi Number		   guifg=#ff9800 gui=none ctermfg=208
-hi Special		   guifg=#ff9800 gui=none ctermfg=208
-hi PreProc 		   guifg=#faf4c6 gui=none ctermfg=230
-hi Todo            guifg=#ff9f00 guibg=#202020 gui=none
-
-" Code-specific colors
-hi pythonImport    guifg=#009000 gui=none ctermfg=255
-hi pythonException guifg=#f00000 gui=none ctermfg=200
-hi pythonOperator  guifg=#7e8aa2 gui=none ctermfg=103
-hi pythonBuiltinFunction guifg=#009000 gui=none ctermfg=200
-hi pythonExClass   guifg=#009000 gui=none ctermfg=200
-

.vim/colors/mango.vim

-" Vim color file -- Mango
-" Maintainer:   Josh Perez <josh@goatslacker.com>
-" Version: 1.4.5
-
-" mango.vim {{{
-  set t_Co=256
-  let g:colors_name = "mango"
-  let bgcolor = &background
-" }}}
-
-" Colors: {{{
-  if bgcolor == "light"
-    let Black = "ctermfg=238 ctermbg=NONE cterm=NONE"
-    let Orange = "ctermfg=202 ctermbg=NONE cterm=NONE"
-    let Peach = "ctermfg=209 ctermbg=NONE cterm=NONE"
-    let Purple = "ctermfg=141 ctermbg=NONE cterm=NONE"
-    let Red = "ctermfg=196 ctermbg=NONE cterm=NONE"
-  endif
-  if bgcolor == "dark"
-    let Black = "ctermfg=240 ctermbg=NONE cterm=NONE"
-    let Orange = "ctermfg=214 ctermbg=NONE cterm=NONE"
-    let Peach = "ctermfg=222 ctermbg=NONE cterm=NONE"
-    let Purple = "ctermfg=153 ctermbg=NONE cterm=NONE"
-    let Red = "ctermfg=203 ctermbg=NONE cterm=NONE"
-  endif
-
-  let Green = "ctermfg=107 ctermbg=NONE cterm=NONE"
-  let Gray = "ctermfg=250 ctermbg=NONE cterm=NONE"
-  let Blue = "ctermfg=68 ctermbg=NONE cterm=NONE"
-  let Pink = "ctermfg=205 ctermbg=NONE cterm=NONE"
-  let Pink2 = "ctermfg=211 ctermbg=NONE cterm=NONE"
-  let Purple2 = "ctermfg=164 ctermbg=NONE cterm=NONE"
-  let Silver = "ctermfg=245 ctermbg=NONE cterm=NONE"
-  let White = "ctermfg=255 ctermbg=NONE cterm=NONE"
-" }}}
-
-" Light Background: {{{
-  if bgcolor == "light"
-    exe "hi Boolean "         .Red
-    exe "hi Constant "        .Blue
-    exe "hi Character "       .Blue
-    exe "hi Comment "         .Gray
-    exe "hi Conditional "     .Peach
-    exe "hi Debug "           .Blue
-    exe "hi Define "          .Peach
-    exe "hi Delimiter "       .Silver
-    exe "hi Exception "       .Red
-    exe "hi Float "           .Red
-    exe "hi Function "        .Pink
-    exe "hi Identifier "      .Blue
-    exe "hi Ignore "          .Blue
-    exe "hi Include "         .Purple
-    exe "hi Keyword "         .Peach
-    exe "hi Label "           .Blue
-    exe "hi Macro "           .Purple
-    exe "hi Normal "          .Black
-    exe "hi Number "          .Red
-    exe "hi Operator "        .Orange
-    exe "hi PreCondit "       .Purple
-    exe "hi PreProc "         .Peach
-    exe "hi Repeat "          .Peach
-    exe "hi Special "         .Pink
-    exe "hi SpecialChar "     .Pink
-    exe "hi SpecialComment "  .Blue
-    exe "hi Statement "       .Orange
-    exe "hi StorageClass "    .Purple
-    exe "hi String "          .Green
-    exe "hi Structure "       .Peach
-    exe "hi Tag "             .Blue
-    exe "hi Type "            .Orange
-    exe "hi TypeDef "         .Purple2
-
-    hi CursorLine     ctermfg=NONE        ctermbg=231         cterm=NONE
-    hi Todo           ctermfg=232         ctermbg=216         cterm=NONE
-    hi Underlined     ctermfg=NONE        ctermbg=NONE        cterm=underline
-    hi Error          ctermfg=202         ctermbg=196         cterm=NONE
-  endif
-" }}}
-" Dark Background: {{{
-  if bgcolor == "dark"
-    exe "hi Boolean "         .Red
-    exe "hi Constant "        .Blue
-    exe "hi Character "       .Blue
-    exe "hi Comment "         .Black
-    exe "hi Conditional "     .Peach
-    exe "hi Debug "           .Blue
-    exe "hi Define "          .Peach
-    exe "hi Delimiter "       .White
-    exe "hi Exception "       .Red
-    exe "hi Float "           .Red
-    exe "hi Function "        .Pink
-    exe "hi Identifier "      .Blue
-    exe "hi Ignore "          .Blue
-    exe "hi Include "         .Purple
-    exe "hi Keyword "         .Peach
-    exe "hi Label "           .Peach
-    exe "hi Macro "           .Purple
-    exe "hi Normal "          .White
-    exe "hi Number "          .Red
-    exe "hi Operator "        .Orange
-    exe "hi PreCondit "       .Purple
-    exe "hi PreProc "         .Peach
-    exe "hi Repeat "          .Peach
-    exe "hi Special "         .Pink
-    exe "hi SpecialChar "     .Pink
-    exe "hi SpecialComment "  .Blue
-    exe "hi Statement "       .Orange
-    exe "hi StorageClass "    .White
-    exe "hi String "          .Green
-    exe "hi Structure "       .Peach
-    exe "hi Tag "             .Blue
-    exe "hi Type "            .Orange
-    exe "hi TypeDef "         .Purple2
-
-    hi CursorLine     ctermfg=NONE        ctermbg=234         cterm=NONE
-    hi Todo           ctermfg=232         ctermbg=220         cterm=NONE
-    hi Underlined     ctermfg=NONE        ctermbg=NONE        cterm=underline
-    hi Error          ctermfg=202         ctermbg=196         cterm=NONE
-  endif
-" }}}
-
-" Syntax Overrides {{{
-hi link javaScriptFutureKeys Comment
-" }}}
-
-" MIT LICENSE {{{
-" The MIT License (MIT)
-" Copyright 2012 Josh Perez, http://www.goatslacker.com
-"
-" Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-"
-" The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-"
-" THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-" }}}
-
-" vim:foldmethod=marker:foldlevel=0
 "
 " author:    Xu Xiaodong <xxdlhy@gmail.com>
-" modified:  2012 Feb 27
+" modified:  2012 Mar 24
 "
 
 "-- base --"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.