You are not logged in.
i love you phrakture!!!
i just bought a new hdd(samsung ultraquiet 200gb) and did a fresh archinstall, copied over my old homedir and everything worked except for this term stuff,
i was just about to post a thread when i saw this,
Hah! My terminal color scheme rules, too - the commented one is good as well.
Offline
it doesn't work as it should yet,
just half of the colours in the themes show up,
urxvt and xterm are the same,
arch + gentoo + initng + python = enlisy
Offline
it doesn't work as it should yet,
just half of the colours in the themes show up,
urxvt and xterm are the same,
huh? mine work fine... can you post a screenshot or something?
Offline
i guess i could but i'm too pissed to do it,
wtf could it be? i'm using the same .Xdefaults as before,
is this line from .bashrc right?
export TERM='xterm-color'
i didn't have that in my old setup because i'm using the same homedir,
edit: the themes are only showing colors 0-7 not 8-15,
it worked before so it must be something easy to fix,
edit2: i've found a workaround, calling the colors by name instead of numbers worked, strange though that it worked with numbers before,
arch + gentoo + initng + python = enlisy
Offline
and here is the beuty: http://art.archlinux.org/main.php?g2_vi … itemId=513
now everything can go back to normal again, 8)
arch + gentoo + initng + python = enlisy
Offline
phrakture and xerxes,
I'm in the process of trying all this and alsosuck at the color thingy:
after opening vim:
http://www.justdreams.de/archlinux/imag … r_open.jpg
after set background=light
http://www.justdreams.de/archlinux/imag … _light.jpg
after set background=dark
http://www.justdreams.de/archlinux/imag … g_dark.jpg
it seems that it follows these rules:
it takes the 8 colors defined as dark* and displays the normal
as soon as you request either bold or a light* color you automatically
get the bright version bold. So these combination are just as bundles
available
How does it looks at yours when you open the
:e $VIMRUNTIME/syntax/colortest.vim
and
:source %
it
http://www.justdreams.de/archlinux/imag … ortest.jpg
?
-neri
Offline
Actually, I do have a followup question on the 'xterm-color' thing. It does work when I set the property manually on a command line, but for some reason it doesn't seem to stay set when putting
export TERM='xterm-color'
in my .bashrc file. Is there some other place this could be getting set back to just 'xterm' after the .bashrc file is sourced?
Offline
i think theres an option which can go in ~/.Xdefaults
iphitus
Offline
i think theres an option which can go in ~/.Xdefaults
iphitus
yeah it's something like:
aterm*termName: xterm-color
urxvt*termName: xterm-color
xterm*termName: xterm-color
etc...
etc...
Offline
Thanks...I'll check that out and let you know.
Offline
What is up with this color crap?
Desert? Can I get mine in pink pussycat with just a hint of periwinkle?
I use vi, and it's black and white. I don't want to know what mode I'm in. If I bang on the Esc key enough I'll get into edit mode.
I don't use ZZ to exit out, because that's something an emacs user would do.
If I want pretty colors, I go out in the garden!
--Manly Man
--HAPS
Offline
More color crap - /me hugs his colors a bit.
After describing here:
http://bbs.archlinux.org/viewtopic.php?p=107004#107004
how to make you urxvt aware of more then 8 dark and 8 bolded
colors, now here comes the vim part.
Actually, there is no big deal, you should just make sure that other
non 88 color terms don't run into problems on that issue. This is
what it looks like, more that 8 colors and none of them is bolded. So
you or your vim colorscheme can decide, which elements should be
bolded and which not should be.
http://www.justdreams.de/archlinux/imag … ortest.jpg
" Take care of the colors rxvt-unicode can display, note the also mrxvt honours
" these settings and maybe othe rxvt clones as well!
if $COLORTERM =~ 'rxvt-xpm'
" terminfo set colors to 88 from where vim greps the info
" we define a cterm friendly scheme, this a home hacked one
colorscheme tobbi
else
" a fallback for mlterm and other terms
set t_Co=16
" some color mappings taken from vim manual
set t_AB=[^[%?%p1%{8}%<%t25;%p1%{40}%+%e5;%p1%{32}%+%;%dm
set t_AF=[^[%?%p1%{8}%<%t22;%p1%{30}%+%e1;%p1%{22}%+%;%dm
" load schemes only when colorsettings are defined!
colorscheme desert
endif
Note: the [^ is actually a written escape char, make sure you set it correctly
This colorscheme (store in ~/.vim/colors/tobbi.vim) is modeled to
match gvims appearance when desert is loaded.
" Vim color file
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "tobbi"
" define theme for b/w terms only
hi Comment term=bold
hi Constant term=underline
hi Special term=bold
hi Identifier term=underline
hi Statement term=bold
hi PreProc term=underline
hi Type term=underline
hi Function term=bold
hi Repeat term=underline
hi Error term=reverse
hi Todo term=standout
" god bless the rainbow -> I LIKE COLORS!
" here comes the colored term - modelled to match deserts gui colors
hi Normal ctermfg=white ctermbg=NONE
hi Comment ctermfg=LightBlue
hi Constant ctermfg=LightGrey
hi Special ctermfg=LightGrey
hi Identifier cterm=NONE ctermfg=LightGreen
hi Statement cterm=bold ctermfg=Yellow
hi PreProc ctermfg=DarkRed
hi Type cterm=bold ctermfg=DarkYellow
hi Function ctermfg=DarkYellow
hi Repeat cterm=bold ctermfg=Yellow
hi Operator cterm=bold ctermfg=Yellow
hi String ctermfg=red
hi Ignore ctermfg=black
hi Error ctermbg=Red ctermfg=White
hi Todo ctermbg=Yellow ctermfg=Black
" a gui theme
hi Normal guifg=cyan guibg=black
hi Comment guifg=#80a0ff
hi Constant guifg=Magenta
hi Special guifg=Red
hi Identifier guifg=#40ffff
hi Statement gui=bold guifg=#aa4444
hi PreProc guifg=#ff80ff
hi Type gui=bold guifg=#60ff60
hi Function guifg=White
hi Repeat guifg=white
hi Operator guifg=Red
hi Ignore guifg=bg
hi Error guifg=White guibg=Red
hi Todo guifg=Blue guibg=Yellow
" Common groups that link to default highlighting.
" You can specify other highlighting easily.
"hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Conditional Repeat
hi link Label Statement
hi link Keyword Statement
hi link Exception Statement
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link Tag Special
hi link SpecialChar Special
hi link Delimiter Special
hi link SpecialComment Special
hi link Debug Special
-neri
Offline
neri - can you post your Xdefaults? or are those default colors?
Offline
nice of neri to continue the quest for the perfect terminal,
i'm wating anxiously for him to release urxvt to extra,
arch + gentoo + initng + python = enlisy
Offline
nice of neri to continue the quest for the perfect terminal,
i'm wating anxiously for him to release urxvt to extra,
Heh, we all are *pokes neri*
Offline
xerxes2 wrote:nice of neri to continue the quest for the perfect terminal,
i'm wating anxiously for him to release urxvt to extra,Heh, we all are *pokes neri*
Ouuch, uuuh, oh, stop it, I reply ...
seriously, I did some further research. The issue is more related to terminal
colors, hence watch the rxvt-unicode thread.
EDIT: vim stuff better goes here ...
Following things have been observed:
1. when you use the TermColors as defined in .Xdefault and call them by
numbers as listed here
http://vim.dindinx.net/orig/html/syntax … ht-ctermfg
your vim will use the colors defined in .Xdefaults - BUT
it will also behave like an 8 color terminal and boldize the colors 8-15
2. when using color names like darkred, indianred3 etc - mind these are
the predifined X-colours - described in /usr/X11R6/lib/X11/rgb.txt
It might be possible to redefine them in .Xdefaults, but I dunno how.
A maybe better .vimrc
" Take care of the colors rxvt-unicode can display, note the also mrxvt honours
" these settings and maybe othe rxvt clones as well!
if $COLORTERM =~ 'rxvt-xpm'
" redefine colors to 88 - necessary if $TERM!=rxvt-unicode
set t_Co=88
" we define a cterm friendly scheme, this a home hacked one
colorscheme tobbi
else
" a fallback for mlterm and other terms
set t_Co=16
" some color mappings taken from vim manual
set t_AB=[^[%?%p1%{8}%<%t25;%p1%{40}%+%e5;%p1%{32}%+%;%dm
set t_AF=[^[%?%p1%{8}%<%t22;%p1%{30}%+%e1;%p1%{22}%+%;%dm
" load schemes only when colorsettings are defined!
colorscheme desert
endif
hth a bit,
-neri
PS: can someone start a wiki on the urxvt-vim combo since it si very
powerful but very hard to configure, I contribute to it later
Offline