From 8c5fce3fa3b416bc49c22fadcfa9268cae6b83b7 Mon Sep 17 00:00:00 2001 From: Sonny Date: Sat, 24 Jun 2017 13:48:23 +0200 Subject: [PATCH] Variables & tabs --- scripts/check-agent | 1 + tmux/.tmux.conf | 11 ++++++----- vim/.vimrc | 8 ++------ 3 files changed, 9 insertions(+), 11 deletions(-) create mode 100644 scripts/check-agent diff --git a/scripts/check-agent b/scripts/check-agent new file mode 100644 index 0000000..a9bf588 --- /dev/null +++ b/scripts/check-agent @@ -0,0 +1 @@ +#!/bin/bash diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 8a6ff90..6bca9eb 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -9,7 +9,7 @@ bind r source-file ~/.tmux.conf ## Status bar design set -g status-position bottom -set -g status-bg colour239 +set -g status-bg colour239 set -g status-attr dim set -g status-right '#[fg=colour233,bg=colour102,bold] %d/%m #[fg=colour233,bg=colour102,bold] %H:%M:%S ' set -g status-right-length 50 @@ -19,13 +19,13 @@ set -g status-left-length 20 set-window-option -g status-left '#[fg=colour0,bg=colour102,bold] #S ' # Current window -setw -g window-status-current-fg colour0 -setw -g window-status-current-bg colour102 +setw -g window-status-current-fg colour0 +setw -g window-status-current-bg colour102 setw -g window-status-current-attr bold setw -g window-status-current-format ' #I#[fg=colour0] #[fg=colour0]#W ' # Background windows -setw -g window-status-fg colour0 +setw -g window-status-fg colour0 setw -g window-status-bg colour240 setw -g window-status-attr none @@ -37,4 +37,5 @@ set -g mouse on # Terminal colors set -g default-terminal "screen-256color" -set-option -ga update-environment ' DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY' +set-option -ga update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID \ + SSH_CONNECTION WINDOWID XAUTHORITY" diff --git a/vim/.vimrc b/vim/.vimrc index b3f657d..5132635 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -18,12 +18,8 @@ syntax enable " Create the `tags` file (may need to install ctags first) command! MakeTags !ctags -R . -"Python specific's -au BufNewFile,BufRead *.py - \ set tabstop=4 | - \ set softtabstop=4 | - \ set shiftwidth=4 | - \ set expandtab | +"4 spaces instead of tabs +set tabstop=4 softtabstop=4 shiftwidth=4 expandtab " Fold methods based on indents " zo to open folds, zc to close