dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 425dffb66c61354c0c71b9336f8afb18479ef0dc
parent 0e9c399f1b254227672c9c501c1aef7d0d61d4ae
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 24 May 2019 20:14:07 +0200

Update tmux term, change col/line view in nvim status bar

Diffstat:
M.tmux.conf | 2+-
M.vim/plugin/appearance.vim | 17++++++++---------
2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -21,7 +21,7 @@ bind , rename-window "" \; command-prompt "rename-window '%%'" #### APPEARANCE -set -g default-terminal "xterm-256color" # use 256 colors +set -g default-terminal "screen-256color" # use 256 colors # set -ga terminal-overrides ',xterm-256color:Tc' # fix escape sequences set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' # fix escape sequences setw -g aggressive-resize on # resize window to smallest client diff --git a/.vim/plugin/appearance.vim b/.vim/plugin/appearance.vim @@ -63,9 +63,9 @@ augroup StatuslineConfig " define custom highlight groups for statusline coloring highlight User1 ctermfg=NONE guifg=#d0d0d0 ctermbg=NONE guibg=#585858 - highlight User2 ctermfg=NONE guifg=#969696 ctermbg=NONE guibg=#585858 - highlight User3 ctermbg=NONE guibg=#808080 ctermfg=NONE guifg=#444444 - highlight User4 ctermfg=NONE guifg=#d0d0d0 ctermbg=NONE guibg=#444444 + " highlight User2 ctermfg=NONE guifg=#969696 ctermbg=NONE guibg=#585858 + " highlight User3 ctermbg=NONE guibg=#808080 ctermfg=NONE guifg=#444444 + " highlight User4 ctermfg=NONE guifg=#d0d0d0 ctermbg=NONE guibg=#444444 " empty statusline and populate later set statusline= @@ -73,21 +73,20 @@ augroup StatuslineConfig " left set statusline+=%1* " set User1 color set statusline+=\%t\ " tail of filename - set statusline+=%4* " set User4 color + " set statusline+=%4* " set User4 color set statusline+=\ %h%w%m%r\ " flags for help file, preview, modified, R/O - set statusline+=%#LineNr# " set default background + "set statusline+=%#LineNr# " set default background " center spacing set statusline+=%= " add separation between left and right items " right - set statusline+=%4* " set background color + " set statusline+=%4* " set background color if &rtp =~ 'ale' set statusline+=%7*%{StatuslineLinterWarnings()}%4* " ALE warnings set statusline+=%6*%{StatuslineLinterErrors()}%4* " ALE errors set statusline+=%{StatuslineLinterOK()} " ALE ok endif - set statusline+=%3* " set User3 color - set statusline+=\ %2l:%-2c\ " line and column view - + " set statusline+=%3* " set User3 color + set statusline+=\ %c:%l " line and column view augroup END