dot

packages and services management
Log | Files | Refs | README

commit 3a9e38d8dee93c71e07d67d519c8ac28c612c88b
parent 9eefdf5faacd0a8061019bd995e4ff89835cf7bb
Author: sshbio <josuah.demangeon@gmail.com>
Date:   Mon, 28 Mar 2016 16:38:06 +0200

sshbio.vim theme: Finally a good tty hl-line handling

Diffstat:
Mbin/clip | 1+
Metc/tmux.conf | 6+++++-
Metc/vim/colors/sshbio.vim | 47+++++++++++++++++++++++------------------------
Metc/vimrc | 7+------
4 files changed, 30 insertions(+), 31 deletions(-)

diff --git a/bin/clip b/bin/clip @@ -6,6 +6,7 @@ CLIP="${CLIP-/tmp/clip}" +touch "$CLIP" cat "$CLIP" while read line diff --git a/etc/tmux.conf b/etc/tmux.conf @@ -15,11 +15,15 @@ set -g renumber-windows on set-option -g status-keys vi +# Copy-mode +bind-key -t vi-copy v begin-selection +bind-key -t vi-copy y copy-pipe "clip" +bind-key -t vi-copy Enter copy-pipe "clip" + # Prefix set-option -g prefix C-Space unbind-key C-b -# Shortcuts bind r source-file ~/.tmux.conf # Vim-tmux navigator diff --git a/etc/vim/colors/sshbio.vim b/etc/vim/colors/sshbio.vim @@ -10,37 +10,36 @@ set background=dark let g:colors_name="sshbio" " Actual colours and styles. -hi ColorColumn term=NONE cterm=NONE ctermfg=NONE ctermbg=8 hi Comment term=NONE cterm=NONE ctermfg=5 ctermbg=NONE -hi Constant term=NONE cterm=NONE ctermfg=11 ctermbg=NONE -hi CursorLine term=NONE cterm=NONE ctermfg=NONE ctermbg=8 -hi DiffAdd term=NONE cterm=NONE ctermfg=0 ctermbg=10 -hi DiffChange term=NONE cterm=NONE ctermfg=0 ctermbg=11 -hi DiffDelete term=NONE cterm=NONE ctermfg=0 ctermbg=9 -hi DiffText term=NONE cterm=bold ctermfg=0 ctermbg=12 -hi Directory term=NONE cterm=bold ctermfg=12 ctermbg=0 -hi Error term=NONE cterm=bold ctermfg=15 ctermbg=9 -hi ErrorMsg term=NONE cterm=bold ctermfg=9 ctermbg=NONE -hi FoldColumn term=NONE cterm=bold ctermfg=13 ctermbg=NONE -hi Folded term=NONE cterm=NONE ctermfg=13 ctermbg=NONE -hi Function term=NONE cterm=NONE ctermfg=14 ctermbg=NONE -hi Identifier term=NONE cterm=bold ctermfg=10 ctermbg=NONE -hi IncSearch term=NONE cterm=NONE ctermfg=0 ctermbg=14 +hi Constant term=NONE cterm=NONE ctermfg=3 ctermbg=NONE +hi CursorLine term=bold cterm=bold ctermfg=NONE ctermbg=NONE +hi DiffAdd term=NONE cterm=NONE ctermfg=0 ctermbg=2 +hi DiffChange term=NONE cterm=NONE ctermfg=0 ctermbg=3 +hi DiffDelete term=NONE cterm=NONE ctermfg=0 ctermbg=1 +hi DiffText term=NONE cterm=bold ctermfg=0 ctermbg=4 +hi Directory term=NONE cterm=bold ctermfg=4 ctermbg=0 +hi Error term=NONE cterm=bold ctermfg=7 ctermbg=1 +hi ErrorMsg term=NONE cterm=bold ctermfg=1 ctermbg=NONE +hi FoldColumn term=NONE cterm=bold ctermfg=5 ctermbg=NONE +hi Folded term=NONE cterm=bold ctermfg=5 ctermbg=NONE +hi Function term=NONE cterm=NONE ctermfg=6 ctermbg=NONE +hi Identifier term=NONE cterm=NONE ctermfg=2 ctermbg=NONE +hi IncSearch term=NONE cterm=NONE ctermfg=0 ctermbg=6 hi LineNr term=NONE cterm=NONE ctermfg=7 ctermbg=NONE -hi ModeMsg term=NONE cterm=bold ctermfg=0 ctermbg=11 +hi ModeMsg term=NONE cterm=NONE ctermfg=0 ctermbg=3 hi NonText term=NONE cterm=NONE ctermfg=7 ctermbg=NONE hi Normal term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE -hi PreProc term=NONE cterm=NONE ctermfg=10 ctermbg=NONE -hi Search term=NONE cterm=NONE ctermfg=0 ctermbg=11 -hi Special term=NONE cterm=NONE ctermfg=14 ctermbg=NONE +hi PreProc term=NONE cterm=NONE ctermfg=6 ctermbg=NONE +hi Search term=NONE cterm=NONE ctermfg=0 ctermbg=3 +hi Special term=NONE cterm=NONE ctermfg=6 ctermbg=NONE hi SpecialKey term=NONE cterm=NONE ctermfg=7 ctermbg=NONE -hi Statement term=NONE cterm=bold ctermfg=14 ctermbg=NONE -hi StatusLine term=NONE cterm=NONE ctermfg=15 ctermbg=8 -hi StatusLineNC term=NONE cterm=NONE ctermfg=7 ctermbg=8 +hi Statement term=NONE cterm=bold ctermfg=7 ctermbg=NONE +hi StatusLine term=NONE cterm=NONE ctermfg=0 ctermbg=2 +hi StatusLineNC term=NONE cterm=NONE ctermfg=0 ctermbg=7 hi String term=NONE cterm=NONE ctermfg=4 ctermbg=NONE hi TabLineSel term=NONE cterm=bold ctermfg=7 ctermbg=NONE -hi Todo term=NONE cterm=bold ctermfg=15 ctermbg=3 -hi Type term=NONE cterm=bold ctermfg=10 ctermbg=NONE +hi Todo term=NONE cterm=bold ctermfg=7 ctermbg=3 +hi Type term=NONE cterm=NONE ctermfg=4 ctermbg=NONE hi Underlined term=underline cterm=underline ctermfg=NONE ctermbg=NONE hi VertSplit term=NONE cterm=NONE ctermfg=3 ctermbg=NONE hi Visual term=NONE cterm=NONE ctermfg=NONE ctermbg=7 diff --git a/etc/vimrc b/etc/vimrc @@ -57,13 +57,8 @@ set backupdir=~/.vim/tmp,. set directory=~/.vim/tmp,. " Statusline -hi StatusLine ctermfg=15 ctermbg=8 cterm=none -hi StatuslineNC ctermfg=7 ctermbg=8 cterm=none -hi User1 ctermfg=1 ctermbg=8 cterm=none -hi User2 ctermfg=9 ctermbg=1 cterm=none -hi User3 ctermfg=15 ctermbg=0 cterm=none set statusline=%3L\ %3c -set statusline+=\ \ %1*░▒▓█%2*░▒▓█%3*\ %f\ %2*█▓▒░%1*█▓▒░%* +set statusline+=\ \ %#Statement#\ %f\ %* set statusline+=\ \ %{&filetype} set statusline+=\ \ %#Search#%m%* set statusline+=%<%#Error#%{SyntasticStatuslineFlag()}%*