add fancy pants italic font support
* add terminfo for terminal and tmux * set comments to italic in vim * update zshrc and tmux.conf to use italic terminfo
This commit is contained in:
@@ -217,6 +217,7 @@ let base16colorspace=256 " Access colors present in 256 colorspace"
|
||||
set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors"
|
||||
execute "set background=".$BACKGROUND
|
||||
execute "colorscheme ".$THEME
|
||||
highlight Comment cterm=italic
|
||||
|
||||
set number " show line numbers
|
||||
" set relativenumber " show relative line numbers
|
||||
@@ -494,7 +495,8 @@ let g:neomake_typescript_tsc_maker = {
|
||||
\ '%C%\s%\+%m'
|
||||
\ }
|
||||
|
||||
autocmd FileType javascript let g:neomake_javascript_enabled_makers = findfile('.jshintrc', '.;') != '' ? ['jshint'] : ['eslint']
|
||||
" autocmd FileType javascript let g:neomake_javascript_enabled_makers = findfile('.jshintrc', '.;') != '' ? ['jshint'] : ['eslint']
|
||||
let g:neomake_javascript_enabled_makers = ['jshint', 'jscs']
|
||||
|
||||
" CtrlP ignore patterns
|
||||
" let g:ctrlp_custom_ignore = {
|
||||
@@ -534,4 +536,5 @@ call ApplyLocalSettings(expand('.'))
|
||||
|
||||
" }}}
|
||||
|
||||
|
||||
" vim:foldmethod=marker:foldlevel=0
|
||||
|
||||
13
resources/tmux-256color-italic.terminfo
Normal file
13
resources/tmux-256color-italic.terminfo
Normal file
@@ -0,0 +1,13 @@
|
||||
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
|
||||
#
|
||||
# Install:
|
||||
#
|
||||
# tic xterm-256color-italic.terminfo
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# export TERM=tmux-256color-italic
|
||||
#
|
||||
tmux-256color-italic|tmux with 256 colors and italic,
|
||||
sitm=\E[3m, ritm=\E[23m,
|
||||
use=xterm-256color,
|
||||
14
resources/xterm-256color-italic.terminfo
Normal file
14
resources/xterm-256color-italic.terminfo
Normal file
@@ -0,0 +1,14 @@
|
||||
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
|
||||
#
|
||||
# Install:
|
||||
#
|
||||
# tic xterm-256color-italic.terminfo
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# export TERM=xterm-256color-italic
|
||||
#
|
||||
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
|
||||
xterm-256color-italic|xterm with 256 colors and italic,
|
||||
sitm=\E[3m, ritm=\E[23m,
|
||||
use=xterm-256color,
|
||||
@@ -1,6 +1,6 @@
|
||||
set -g default-command "reattach-to-user-namespace -l zsh"
|
||||
# tmux display things in 256 colors
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g default-terminal "tmux-256color-italic"
|
||||
set -g status-utf8 on
|
||||
|
||||
set -g history-limit 20000
|
||||
|
||||
@@ -43,7 +43,7 @@ if [[ -d ~/bin ]]; then
|
||||
export PATH=~/bin:$PATH
|
||||
fi
|
||||
|
||||
[ -z "$TMUX" ] && export TERM=xterm-256color
|
||||
[ -z "$TMUX" ] && export TERM=xterm-256color-italic
|
||||
|
||||
# install rbenv
|
||||
if hash rbenv 2>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user