You are not logged in.
Hey ![]()
I am quite new to ARCH-linux and all this DIY-stuff...and experiencing some problems with VIM and colorschemes.
I wanted to change my colorscheme to "desert" and got some weird colors. Other schemes look even worse, so i searched the web and made some changes:
# echo $TERM && tput colors
->xterm-256color
->256Moreover i added the line:
set t_Co=256 to my .vimrc.
But trying jasonwryan's miromiro theme looks still like this:
It should look like this:
http://farm3.static.flickr.com/2774/452 … c113_m.jpg
I don't really know, what's wrong...maybe DWM (my window manager) is messing things up?
It's quite curios, because i tried many tutorials, but nothing works right.
Any ideas?
P.S: I would be pleased, if you blame on my grammar mistakes, too! (still learning)
Last edited by dudakl (2014-04-25 19:00:27)
Offline
You don't have an italic in your terminfo: just remove that setting (cterm=italic) for comments in the colorscheme.
I thought I had added a note to that effect: my bad, sorry.
Offline
That solved these white boxes, thanks! ![]()
But somehow, it won't look as expected:
Is it possible, VIM uses colors defined in my dwm/config.h? (using dwm-statuscolors.diff as a patch)
Or is ist possible to define colors on my own?
How do i build my own vim-colorscheme?
(so i can understand the theory behind that stuff...)
/Sidequestion: How can i apply more than one tag to one of the dwm-clients?
(not sure, if this is possible, but it seems to be usefull in my opinion,..)
Offline
It looks fine to me. I guess you are referring to the colours themselves, you need to define those in ~/.Xresources.
You can build your own colourscheme by changing the values in mine, or anyone else's. That is all I did.
Yes, dwm is built on the principle of applying mutliple tags to clients: in the default config, Mod-Shift-[1..n] will apply that tag to the focussed window/client.
Offline
That's, what i missed! Everything worx! Thanks ![]()
But assigning more than one tag does not really work...
Mod-Shift-[1..n] just adds the chosen tag to the client. But it seems to overwrite any other tag, so it's not possible to have one or more tags assigned to a client.
If i have tag 1 focused and one terminal on it and then press Mod-Shift-[4] , it just moves out of my sight...i could change my focus to tag 4, but i want my terminal to be on tag 1 too...
Is there a missunderstanding from my point of view?
Offline
I open most of my common apps with rules: so my browser will be tagged web [2], mutt tagged mail [3] and tmux tagged term [3]. I work from base, tag 1.
If I want to add a calendar to my mail tag, I open the term in base, open khal and then assign it to [3]. It is no longer in view.
Later, if I want to look at mail, I pull i into view and I see both mutt and khal.
I have reversed the default binds as it makes more sense to me so Mod-Shift-[1..n] assigns the tag and Mod-[1..n] pulls it in to view. Nevertheless, it works as designed.
This is way off topic though...
Offline
Ok...i think everything is clear now. Thank you ![]()
P.S: I try to get this thread closed, if i am able to find this option....
Offline
Just mark it [Solved] by editing your first post and prepending it to the title.
Offline
Done!
Offline