Tag Info

New answers tagged


In emacs the term hollow box is used to describe that style. You can review the cursor display implementation for X/Xterm -- (called from here) -- or for OSX. In vim there is a help entry for +cursorshape which leads to termcap-cursor-shape, but alas, it does not discuss the hollow-box style and mentions that the directives it (vim) supports are "not ...


In an xterm you can get the current color RGB color codes reported by altering a color change escape to a query. Use the ESC ] Ps m - but add a ? question mark. From the docs: If a "?" is given rather than a name or RGB specification, xterm replies with a control sequence of the same form which can be used to set the corresponding dynamic color. Because ...


Your code looks fine, but you can just put your 7 inside previous colour definition, and additionally I would remove all unnecessary zeros, so: export PS1="${debian_chroot:+($debian_chroot)}\[\033[1;7;35m\]\u@\h\[\033[0m\]:\[\033[1;34m\]\w\[\033[0m\]\$ "


git config --global color.ui auto git config --global color.branch auto git config --global color.status auto


on many derivatives you can also simply use (as on DOS): dir it will show the results without color, you can add the arguments same to ls, like -l


See man termcap for the full definition of the variables that you are exporting. For example, this excerpt covers starting and ending standout mode: the value that is used for highlighting searches: se End standout mode ... so Start standout mode You can set yellow on a black background in your standout mode like so: export ...


Search patterns in less are colorize according to standout mode setting, so in order to display black on yellow you need to put export LESS_TERMCAP_so=$'\E[30;43m' where 30 means black foreground, and 43 yellow background.

Top 50 recent answers are included