Added new tmux and vim status line and configs for urxvt

This commit is contained in:
id101010
2016-10-13 20:56:40 +02:00
parent 2f0046f901
commit 3dee83aede
3 changed files with 57 additions and 15 deletions

View File

@@ -53,23 +53,14 @@ bind Q kill-session
## Appearance ## Appearance
## ##
# #
set-option -g status-bg black
set-option -g status-fg blue
set-option -g status-interval 5
set-option -g visual-activity on
set-window-option -g monitor-activity on
set-window-option -g window-status-current-fg white
set -g message-fg black
set -g message-bg yellow
# statusbar settings - adopted from tmuxline.vim and vim-airline - Theme: murmur
set -g status-justify "left" set -g status-justify "left"
set -g status "on" set -g status "on"
set -g status-left-style "none" set -g status-left-style "none"
set -g message-command-style "fg=colour144,bg=colour237" set -g message-command-style "fg=colour144,bg=colour237"
set -g status-right-style "none" set -g status-right-style "none"
set -g pane-active-border-style "fg=colour27" set -g pane-active-border-style "fg=colour27"
set -g status-utf8 "on"
set -g status-style "bg=colour234,none" set -g status-style "bg=colour234,none"
set -g message-style "fg=colour144,bg=colour237" set -g message-style "fg=colour144,bg=colour237"
set -g pane-border-style "fg=colour237" set -g pane-border-style "fg=colour237"
@@ -79,7 +70,7 @@ setw -g window-status-activity-attr "none"
setw -g window-status-activity-style "fg=colour27,bg=colour234,none" setw -g window-status-activity-style "fg=colour27,bg=colour234,none"
setw -g window-status-separator "" setw -g window-status-separator ""
setw -g window-status-style "fg=colour39,bg=colour234,none" setw -g window-status-style "fg=colour39,bg=colour234,none"
set -g status-left "#[fg=colour15,bg=colour27] #S #[fg=colour27,bg=colour234,nobold,nounderscore,noitalics]" set -g status-left "#[fg=colour15,bg=colour27] #S #[fg=colour27,bg=colour234,nobold,nounderscore,noitalics]"
set -g status-right "#[fg=colour237,bg=colour234,nobold,nounderscore,noitalics]#[fg=colour144,bg=colour237] %d.%m.%Y %H:%M #[fg=colour27,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour27] #h " set -g status-right "#[fg=colour237,bg=colour234,nobold,nounderscore,noitalics]#[fg=colour144,bg=colour237] %d.%m.%Y %H:%M #[fg=colour27,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour27] #h "
setw -g window-status-format "#[fg=colour39,bg=colour234] #I #[fg=colour39,bg=colour234] #W " setw -g window-status-format "#[fg=colour39,bg=colour234] #I #[fg=colour39,bg=colour234] #W "
setw -g window-status-current-format "#[fg=colour234,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour144,bg=colour237] #I #[fg=colour144,bg=colour237] #{pane_current_path} #[fg=colour144,bg=colour237] #W #[fg=colour237,bg=colour234,nobold,nounderscore,noitalics]" setw -g window-status-current-format "#[fg=colour234,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour144,bg=colour237] #I #[fg=colour144,bg=colour237] #{pane_current_path} #[fg=colour144,bg=colour237] #W #[fg=colour237,bg=colour234,nobold,nounderscore,noitalics]"

38
urxvt/Xdefaults Normal file
View File

@@ -0,0 +1,38 @@
# Real transparency -> needs composite manager
URxvt.depth: 32
URxvt.background: rgba:0000/0000/0200/cfff
# Fake transparency
#URxvt.transparent: true
#URxvt.shading: 30
URxvt.tintColor: White
URxvt.saveLines: 9000000
URxvt.foreground: Grey
# Fonts For Powerlinefonts: https://github.com/powerline/fonts
#URxvt.font: xft:DejaVu Sans Mono:pixelsize=18:antialias=true:hinting=true
#URxvt.boldFont: xft:DejaVu Sans Mono:bold:pixelsize=18:antialias=true:hinting=true
#URxvt.tabbed.font: xft:DejaVu Sans Mono:pixelsize=18:antialias=true:hinting=true
#URxvt.font: xft:Droid Sans Mono:pixelsize=18:antialias=true:hinting=true
#URxvt.boldFont: xft:Droid Sans Mono:bold:pixelsize=18:antialias=true:hinting=true
#URxvt.tabbed.font: xft:Droid Sans Mono:pixelsize=18:antialias=true:hinting=true
URxvt.font: xft:Roboto Mono for Powerline:pixelsize=15:antialias=true:hinting=false
URxvt.boldFont: xft:RobotoMono for Powerline :bold:pixelsize=14:antialias=true:hinting=true
URxvt.tabbed.font: xft:RobotoMono for Powerline :pixelsize=14:antialias=true:hinting=true
# Misc
URxvt.scrollBar: false
URxvt.perl-ext-common: default, matcher, vtwheel
URxvt.secondaryScroll: true
URxvt.matcher.button: 1
URxvt.urlLauncher: /usr/bin/firefox
URxvt.colorUL: #4682B4
URxvt.tabbed.saveLines: 1000
URxvt.tabbed.scrollBar: false
URxvt.tabbed.tabbar-fg: 3
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 0
URxvt.tabbed.tab-bg: 1
URxvt.tabbed.secondaryScroll: true
URxvt*inheritPixmap: true

View File

@@ -1,4 +1,5 @@
" vimrc - VIM Configuration file " " vimrc - VIM Configuration file "
" Needs: https://github.com/powerline/fonts "
set nocompatible set nocompatible
filetype off filetype off
@@ -46,6 +47,16 @@ endif
filetype plugin indent on filetype plugin indent on
" Lightline configuration "
let g:lightline = {
\ 'colorscheme': 'default',
\ 'component': {
\ 'readonly': '%{&readonly?"":""}',
\ },
\ 'separator': { 'left': '', 'right': '' },
\ 'subseparator': { 'left': '', 'right': '' }
\ }
" Autointend and autoscroll 4 lines above the cursor " " Autointend and autoscroll 4 lines above the cursor "
set cindent set cindent
set scrolloff=4 set scrolloff=4
@@ -79,8 +90,10 @@ set number
set list set list
set nowrap set nowrap
set hlsearch set hlsearch
set laststatus=2
set t_Co=256 set t_Co=256
set laststatus=2 " Always display the statusline in all windows
set showtabline=2 " Always display the tabline, even if there is only one tab
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline ) "
"Automaticly reread a file, if file has changed" "Automaticly reread a file, if file has changed"
set autoread set autoread