Variables & tabs
This commit is contained in:
parent
ba6d92c8c2
commit
8c5fce3fa3
3 changed files with 9 additions and 11 deletions
1
scripts/check-agent
Normal file
1
scripts/check-agent
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
@ -9,7 +9,7 @@ bind r source-file ~/.tmux.conf
|
||||||
|
|
||||||
## Status bar design
|
## Status bar design
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-bg colour239
|
set -g status-bg colour239
|
||||||
set -g status-attr dim
|
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 '#[fg=colour233,bg=colour102,bold] %d/%m #[fg=colour233,bg=colour102,bold] %H:%M:%S '
|
||||||
set -g status-right-length 50
|
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 '
|
set-window-option -g status-left '#[fg=colour0,bg=colour102,bold] #S '
|
||||||
|
|
||||||
# Current window
|
# Current window
|
||||||
setw -g window-status-current-fg colour0
|
setw -g window-status-current-fg colour0
|
||||||
setw -g window-status-current-bg colour102
|
setw -g window-status-current-bg colour102
|
||||||
setw -g window-status-current-attr bold
|
setw -g window-status-current-attr bold
|
||||||
setw -g window-status-current-format ' #I#[fg=colour0] #[fg=colour0]#W '
|
setw -g window-status-current-format ' #I#[fg=colour0] #[fg=colour0]#W '
|
||||||
|
|
||||||
# Background windows
|
# Background windows
|
||||||
setw -g window-status-fg colour0
|
setw -g window-status-fg colour0
|
||||||
setw -g window-status-bg colour240
|
setw -g window-status-bg colour240
|
||||||
|
|
||||||
setw -g window-status-attr none
|
setw -g window-status-attr none
|
||||||
|
|
@ -37,4 +37,5 @@ set -g mouse on
|
||||||
# Terminal colors
|
# Terminal colors
|
||||||
set -g default-terminal "screen-256color"
|
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"
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,8 @@ syntax enable
|
||||||
" Create the `tags` file (may need to install ctags first)
|
" Create the `tags` file (may need to install ctags first)
|
||||||
command! MakeTags !ctags -R .
|
command! MakeTags !ctags -R .
|
||||||
|
|
||||||
"Python specific's
|
"4 spaces instead of tabs
|
||||||
au BufNewFile,BufRead *.py
|
set tabstop=4 softtabstop=4 shiftwidth=4 expandtab
|
||||||
\ set tabstop=4 |
|
|
||||||
\ set softtabstop=4 |
|
|
||||||
\ set shiftwidth=4 |
|
|
||||||
\ set expandtab |
|
|
||||||
|
|
||||||
" Fold methods based on indents
|
" Fold methods based on indents
|
||||||
" zo to open folds, zc to close
|
" zo to open folds, zc to close
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue