added headers, fixed minor stuff

This commit is contained in:
id101010
2016-10-15 16:58:29 +02:00
parent 3dee83aede
commit a891114458
4 changed files with 102 additions and 46 deletions

View File

@@ -1,6 +1,16 @@
## #################################
## Basic Options # _ #
## # | | #
# | |_ _ __ ___ _ ___ __ #
# | __| '_ ` _ \| | | \ \/ / #
# | |_| | | | | | |_| |> < #
# \__|_| |_| |_|\__,_/_/\_\ #
# #
#################################
#################################
# Basic Options #
#################################
set -g prefix ^a set -g prefix ^a
set -g status-keys vi set -g status-keys vi
@@ -14,9 +24,10 @@ set quiet off
# Fix terminal name issues # Fix terminal name issues
set -s escape-time 1 set -s escape-time 1
## #################################
## Key bindings # Key bindings #
## #################################
# Reload configuration # Reload configuration
bind r source-file ~/.tmux.conf bind r source-file ~/.tmux.conf
@@ -48,11 +59,9 @@ bind L resize-pane -R 5
bind q kill-window bind q kill-window
bind Q kill-session bind Q kill-session
#################################
## # Statusline #
## Appearance #################################
##
#
set -g status-justify "left" set -g status-justify "left"
set -g status "on" set -g status "on"
@@ -60,7 +69,7 @@ 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-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"

View File

@@ -1,3 +1,13 @@
################################
# _ #
# | | #
# _ _ _ ____ ____ _| |_ #
# | | | | '__\ \/ /\ \ / / __| #
# | |_| | | > < \ V /| |_ #
# \__,_|_| /_/\_\ \_/ \__| #
# #
################################
# Real transparency -> needs composite manager # Real transparency -> needs composite manager
URxvt.depth: 32 URxvt.depth: 32
URxvt.background: rgba:0000/0000/0200/cfff URxvt.background: rgba:0000/0000/0200/cfff
@@ -10,10 +20,7 @@ URxvt.tintColor: White
URxvt.saveLines: 9000000 URxvt.saveLines: 9000000
URxvt.foreground: Grey URxvt.foreground: Grey
# Fonts For Powerlinefonts: https://github.com/powerline/fonts # Fonts For Powerlinefonts: https://github.com/powerline/fonts (Arch linux -> AUR)
#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.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.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.tabbed.font: xft:Droid Sans Mono:pixelsize=18:antialias=true:hinting=true
@@ -21,12 +28,7 @@ URxvt.font: xft:Roboto Mono for Powerline:pixelsize=15:antialias
URxvt.boldFont: xft:RobotoMono for Powerline :bold:pixelsize=14:antialias=true:hinting=true 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 URxvt.tabbed.font: xft:RobotoMono for Powerline :pixelsize=14:antialias=true:hinting=true
# Misc # Misc configurations
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.colorUL: #4682B4
URxvt.tabbed.saveLines: 1000 URxvt.tabbed.saveLines: 1000
URxvt.tabbed.scrollBar: false URxvt.tabbed.scrollBar: false
@@ -35,4 +37,16 @@ URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 0 URxvt.tabbed.tab-fg: 0
URxvt.tabbed.tab-bg: 1 URxvt.tabbed.tab-bg: 1
URxvt.tabbed.secondaryScroll: true URxvt.tabbed.secondaryScroll: true
URxvt*inheritPixmap: true URxvt.inheritPixmap: true
# Scroll behavior, don't scroll with output
URxvt.scrollBar: false
URxvt.secondaryScroll: true
URxvt.scrollTtyOutput: false
URxvt.scrollWithBuffer: true
URxvt.scrollTtyKeypress: true
# Clickable urls
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1

View File

@@ -1,9 +1,24 @@
" vimrc - VIM Configuration file " """""""""""""""""""""""""""""""""""""
" Needs: https://github.com/powerline/fonts " " __ _______ __ __ "
" \ \ / /_ _| \/ | "
" \ \ / / | | | \ / |_ __ ___ "
" \ \/ / | | | |\/| | '__/ __| "
" \ / _| |_| | | | | | (__ "
" \/ |_____|_| |_|_| \___| "
" "
"""""""""""""""""""""""""""""""""""""
" Install powerline fonts and configure your
" terminal emulator to use them.
" -> https://github.com/powerline/fonts "
" -> Arch linux AUR: powerline-fonts-git
"
set nocompatible set nocompatible
filetype off filetype off
""""""""""""""""""""""""""""""""""""""
" Vundle (vim plugin manager) stuff "
""""""""""""""""""""""""""""""""""""""
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
" Automatically setting up vundle " " Automatically setting up vundle "
@@ -47,7 +62,10 @@ endif
filetype plugin indent on filetype plugin indent on
" Lightline configuration " """""""""""""""""""""""""""""""""""""""""
" Lightline (statusline) configuration "
"""""""""""""""""""""""""""""""""""""""""
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'default', \ 'colorscheme': 'default',
\ 'component': { \ 'component': {
@@ -57,6 +75,10 @@ let g:lightline = {
\ 'subseparator': { 'left': '', 'right': '' } \ 'subseparator': { 'left': '', 'right': '' }
\ } \ }
"""""""""""""""""""""""""""""""""""""""""
" Misc configurations "
"""""""""""""""""""""""""""""""""""""""""
" 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,21 +101,21 @@ set backspace=2
" Syntaxhighlighting, colorscheme, linenumbers " " Syntaxhighlighting, colorscheme, linenumbers "
syntax on syntax on
colorscheme jellybeans " Colorscheme from plugin " colorscheme jellybeans " Colorscheme from plugin
set cursorline set cursorline
set more " Use more " set more " Use more
set title set title " Blank title
set vb t_vb= " No beeping and flashing " set vb t_vb= " No beeping and flashing "
set wildmenu set wildmenu
set background=dark set background=dark
set number set number " Linenumbers
set list set list
set nowrap set nowrap
set hlsearch set hlsearch
set t_Co=256 set t_Co=256
set laststatus=2 " Always display the statusline in all windows 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 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 ) " 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

View File

@@ -1,6 +1,12 @@
autoload -U compinit promptinit ################################
compinit # _ #
promptinit # | | #
# _______| |__ _ __ ___ #
# |_ / __| '_ \| '__/ __| #
# / /\__ \ | | | | | (__ #
# /___|___/_| |_|_| \___| #
# #
################################
# History # History
export HISTSIZE=100000 export HISTSIZE=100000
@@ -53,6 +59,7 @@ key[PageDown]=${terminfo[knp]}
[[ -n ${key[Right]} ]] && bindkey "${key[Right]}" forward-char [[ -n ${key[Right]} ]] && bindkey "${key[Right]}" forward-char
[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward [[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward
[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward [[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward
bindkey "[C" forward-word bindkey "[C" forward-word
bindkey "[D" backward-word bindkey "[D" backward-word
@@ -72,6 +79,7 @@ if [[ -f $DIRSTACKFILE ]] && [[ $#dirstack -eq 0 ]]; then
dirstack=( ${(f)"$(< $DIRSTACKFILE)"} ) dirstack=( ${(f)"$(< $DIRSTACKFILE)"} )
[[ -d $dirstack[1] ]] && cd $dirstack[1] [[ -d $dirstack[1] ]] && cd $dirstack[1]
fi fi
chpwd() { chpwd() {
print -l $PWD ${(u)dirstack} >$DIRSTACKFILE print -l $PWD ${(u)dirstack} >$DIRSTACKFILE
} }
@@ -104,6 +112,9 @@ alias cal='cal -m'
setopt autopushd pushdsilent pushdtohome setopt autopushd pushdsilent pushdtohome
setopt pushdignoredups setopt pushdignoredups
setopt pushdminus setopt pushdminus
setopt nohashdirs
autoload -U compinit promptinit
compinit
promptinit
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
rehash rehash
setopt nohashdirs