Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add hybrid gnome-terminal colors

  • Loading branch information...
commit fd8d2cbe5b9f1faaea310fade31ac6e69bcd0cc8 1 parent 02daacf
@yuriihabrusiev yuriihabrusiev authored
Showing with 39 additions and 2 deletions.
  1. +9 −2 home/.vimrc
  2. +30 −0 home/bin/hybridize
View
11 home/.vimrc
@@ -127,9 +127,13 @@ if has('gui_running')
inoremap <C-Space> <C-x><C-o>
else
set t_Co=256
- colorscheme jellybeans
if &term == 'linux'
colorscheme desert
+ elseif &term == 'xterm'
+ let g:hybrid_use_Xresources = 1
+ colo hybrid
+ else
+ colorscheme jellybeans
endif
inoremap <Nul> <C-x><C-o>
let NERDTreeDirArrows=0
@@ -147,9 +151,12 @@ noremap <up> <nop>
noremap <down> <nop>
noremap <left> <nop>
noremap <right> <nop>
+inoremap <up> <nop>
+inoremap <down> <nop>
+inoremap <left> <nop>
+inoremap <right> <nop>
" Cool stuff
-inoremap jj <ESC>
inoremap jk <ESC>
" Disable help
View
30 home/bin/hybridize
@@ -0,0 +1,30 @@
+gnome_term_profile="/apps/gnome-terminal/profiles/Default"
+
+color0="#28282A2A2E2E"
+color1="#A5A542424242"
+color2="#8C8C94944040"
+color3="#DEDE93935F5F"
+color4="#5F5F81819D9D"
+color5="#858567678F8F"
+color6="#5E5E8D8D8787"
+color7="#707078788080"
+color8="#37373B3B4141"
+color9="#CCCC66666666"
+color10="#B5B5BDBD6868"
+color11="#F0F0C6C67474"
+color12="#8181A2A2BEBE"
+color13="#B2B29494BBBB"
+color14="#8A8ABEBEB7B7"
+color15="#C5C5C8C8C6C6"
+
+foreground_color="#C5C5C8C8C6C6"
+background_color="#1D1D1F1F2121"
+
+gconftool-2 -s -t bool $gnome_term_profile/bold_color_same_as_fg "true"
+gconftool-2 -s -t string $gnome_term_profile/background_color $background_color
+gconftool-2 -s -t string $gnome_term_profile/foreground_color $foreground_color
+
+
+palette="$color0:$color1:$color2:$color3:$color4:$color5:$color6:$color7:$color8:$color9:$color10:$color11:$color12:$color13:$color14:$color15"
+
+gconftool-2 -s -t string $gnome_term_profile/palette $palette
Please sign in to comment.
Something went wrong with that request. Please try again.