fix reverse-video/italic mode in urxvt
fix reverse-video/italic mode in urxvt

Source: https://wiki.archlinux.org/index.php/Tmux#Fix_reverse-video.2Fitalic_mode_in_urxvt

create new terminfo adding the italic escape code

    infocmp "$screen_terminfo" | sed \
      -e 's/^screen[^|]*|[^,]*,/screen-it-256|screen with 256 colors and italics support,/' \
      -e 's/%?%p1%t;3%/%?%p1%t;7%/' \
      -e 's/smso=[^,]*,/smso=\\E[7m,/' \
      -e 's/rmso=[^,]*,/rmso=\\E[27m,/' \
      -e '$s/$/ sitm=\\E[3m, ritm=\\E[23m,/' > /tmp/screen.terminfo

compile this terminfo

    tic /tmp/screen.terminfo

set default-terminal in tmux.conf

    set -g default-terminal screen-it-256

make vimrc recognize screen-it-256 as being 256 colors

    $TERM == "screen-it-256"

atweiden/dotfiles,atweiden/dotfiles,atweiden/dotfiles,atweiden/dotfiles,atweiden/dotfiles