dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit c93a7b26ab820b098ab571c5e0339d50d1678216
parent 268b22a3788bdaffe117726224ba15f8e6429289
Author: Dionysis Grigoropoulos <dgrig@grnet.gr>
Date:   Thu,  9 Oct 2014 16:26:37 +0300

vim: auto clean up whitespace from .conf files

Diffstat:
.tmux.conf | 14+++++++-------
.vimrc | 1+
2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -15,15 +15,15 @@ bind r source-file ~/.tmux.conf # Status bar customization set -g status-utf8 on -set -g status-bg colour241 -set -g status-fg white -set -g status-interval 60 -set -g status-left-length 90 -set -g status-right-length 60 +set -g status-bg colour241 +set -g status-fg white +set -g status-interval 60 +set -g status-left-length 90 +set -g status-right-length 60 set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=yellow]#h" -set -g status-justify left -set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R' +set -g status-justify left +set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R' # Pane navigation based on vi's hjkl unbind-key j diff --git a/.vimrc b/.vimrc @@ -22,6 +22,7 @@ autocmd BufWritePre *.yml :%s/\s\+$//e autocmd BufWritePre *.init :%s/\s\+$//e autocmd BufWritePre *.rst %s/\s\+$//e autocmd BufWritePre *.spec %s/\s\+$//e +autocmd BufWritePre *.conf %s/\s\+$//e "Show line numbers set number