added headers, fixed minor stuff
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
#################################
|
||||
# _ #
|
||||
# | | #
|
||||
# | |_ _ __ ___ _ ___ __ #
|
||||
# | __| '_ ` _ \| | | \ \/ / #
|
||||
# | |_| | | | | | |_| |> < #
|
||||
# \__|_| |_| |_|\__,_/_/\_\ #
|
||||
# #
|
||||
## Basic Options
|
||||
##
|
||||
#################################
|
||||
|
||||
#################################
|
||||
# Basic Options #
|
||||
#################################
|
||||
|
||||
set -g prefix ^a
|
||||
set -g status-keys vi
|
||||
@@ -14,9 +24,10 @@ set quiet off
|
||||
# Fix terminal name issues
|
||||
set -s escape-time 1
|
||||
|
||||
##
|
||||
## Key bindings
|
||||
##
|
||||
#################################
|
||||
# Key bindings #
|
||||
#################################
|
||||
|
||||
# Reload configuration
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
||||
@@ -48,11 +59,9 @@ bind L resize-pane -R 5
|
||||
bind q kill-window
|
||||
bind Q kill-session
|
||||
|
||||
|
||||
##
|
||||
## Appearance
|
||||
##
|
||||
#
|
||||
#################################
|
||||
# Statusline #
|
||||
#################################
|
||||
|
||||
set -g status-justify "left"
|
||||
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 status-right-style "none"
|
||||
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 message-style "fg=colour144,bg=colour237"
|
||||
set -g pane-border-style "fg=colour237"
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
################################
|
||||
# _ #
|
||||
# | | #
|
||||
# _ _ _ ____ ____ _| |_ #
|
||||
# | | | | '__\ \/ /\ \ / / __| #
|
||||
# | |_| | | > < \ V /| |_ #
|
||||
# \__,_|_| /_/\_\ \_/ \__| #
|
||||
# #
|
||||
################################
|
||||
|
||||
# Real transparency -> needs composite manager
|
||||
URxvt.depth: 32
|
||||
URxvt.background: rgba:0000/0000/0200/cfff
|
||||
@@ -10,10 +20,7 @@ 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
|
||||
# Fonts For Powerlinefonts: https://github.com/powerline/fonts (Arch linux -> AUR)
|
||||
#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
|
||||
@@ -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.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
|
||||
# Misc configurations
|
||||
URxvt.colorUL: #4682B4
|
||||
URxvt.tabbed.saveLines: 1000
|
||||
URxvt.tabbed.scrollBar: false
|
||||
@@ -35,4 +37,16 @@ URxvt.tabbed.tabbar-bg: 0
|
||||
URxvt.tabbed.tab-fg: 0
|
||||
URxvt.tabbed.tab-bg: 1
|
||||
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
|
||||
|
||||
38
vim/vimrc
38
vim/vimrc
@@ -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
|
||||
filetype off
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""
|
||||
" Vundle (vim plugin manager) stuff "
|
||||
""""""""""""""""""""""""""""""""""""""
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
||||
" Automatically setting up vundle "
|
||||
@@ -47,7 +62,10 @@ endif
|
||||
|
||||
filetype plugin indent on
|
||||
|
||||
" Lightline configuration "
|
||||
"""""""""""""""""""""""""""""""""""""""""
|
||||
" Lightline (statusline) configuration "
|
||||
"""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
let g:lightline = {
|
||||
\ 'colorscheme': 'default',
|
||||
\ 'component': {
|
||||
@@ -57,6 +75,10 @@ let g:lightline = {
|
||||
\ 'subseparator': { 'left': '', 'right': '' }
|
||||
\ }
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""
|
||||
" Misc configurations "
|
||||
"""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Autointend and autoscroll 4 lines above the cursor "
|
||||
set cindent
|
||||
set scrolloff=4
|
||||
@@ -79,21 +101,21 @@ set backspace=2
|
||||
|
||||
" Syntaxhighlighting, colorscheme, linenumbers "
|
||||
syntax on
|
||||
colorscheme jellybeans " Colorscheme from plugin "
|
||||
colorscheme jellybeans " Colorscheme from plugin
|
||||
set cursorline
|
||||
set more " Use more "
|
||||
set title
|
||||
set more " Use more
|
||||
set title " Blank title
|
||||
set vb t_vb= " No beeping and flashing "
|
||||
set wildmenu
|
||||
set background=dark
|
||||
set number
|
||||
set number " Linenumbers
|
||||
set list
|
||||
set nowrap
|
||||
set hlsearch
|
||||
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 ) "
|
||||
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
|
||||
|
||||
"Automaticly reread a file, if file has changed"
|
||||
set autoread
|
||||
|
||||
19
zsh/zshrc
19
zsh/zshrc
@@ -1,6 +1,12 @@
|
||||
autoload -U compinit promptinit
|
||||
compinit
|
||||
promptinit
|
||||
################################
|
||||
# _ #
|
||||
# | | #
|
||||
# _______| |__ _ __ ___ #
|
||||
# |_ / __| '_ \| '__/ __| #
|
||||
# / /\__ \ | | | | | (__ #
|
||||
# /___|___/_| |_|_| \___| #
|
||||
# #
|
||||
################################
|
||||
|
||||
# History
|
||||
export HISTSIZE=100000
|
||||
@@ -53,6 +59,7 @@ key[PageDown]=${terminfo[knp]}
|
||||
[[ -n ${key[Right]} ]] && bindkey "${key[Right]}" forward-char
|
||||
[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" history-beginning-search-backward
|
||||
[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" history-beginning-search-forward
|
||||
|
||||
bindkey "[C" forward-word
|
||||
bindkey "[D" backward-word
|
||||
|
||||
@@ -72,6 +79,7 @@ if [[ -f $DIRSTACKFILE ]] && [[ $#dirstack -eq 0 ]]; then
|
||||
dirstack=( ${(f)"$(< $DIRSTACKFILE)"} )
|
||||
[[ -d $dirstack[1] ]] && cd $dirstack[1]
|
||||
fi
|
||||
|
||||
chpwd() {
|
||||
print -l $PWD ${(u)dirstack} >$DIRSTACKFILE
|
||||
}
|
||||
@@ -104,6 +112,9 @@ alias cal='cal -m'
|
||||
setopt autopushd pushdsilent pushdtohome
|
||||
setopt pushdignoredups
|
||||
setopt pushdminus
|
||||
setopt nohashdirs
|
||||
autoload -U compinit promptinit
|
||||
compinit
|
||||
promptinit
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
rehash
|
||||
setopt nohashdirs
|
||||
|
||||
Reference in New Issue
Block a user