changes for 24bit colors in vim
This commit is contained in:
@@ -65,6 +65,10 @@ set -g pane-base-index 1
|
|||||||
# set -g @plugin 'git@github.com:user/plugin'
|
# set -g @plugin 'git@github.com:user/plugin'
|
||||||
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
||||||
|
|
||||||
|
# workaround for 24bit colors for vim in tmux
|
||||||
|
# tip from https://github.com/vim/vim/issues/3608
|
||||||
|
set -ag terminal-overrides ",xterm-256color:Tc"
|
||||||
|
|
||||||
|
|
||||||
# tpm install: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
# tpm install: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
|||||||
4
.vimrc
4
.vimrc
@@ -70,6 +70,10 @@ let g:syntastic_auto_loc_list = 1
|
|||||||
let g:syntastic_check_on_open = 1
|
let g:syntastic_check_on_open = 1
|
||||||
let g:syntastic_check_on_wq = 0
|
let g:syntastic_check_on_wq = 0
|
||||||
|
|
||||||
|
" 24bits color fix for tmux
|
||||||
|
" inspiration from https://github.com/vim/vim/issues/3608
|
||||||
|
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
|
|
||||||
" solarized config
|
" solarized config
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
|||||||
Reference in New Issue
Block a user