Skip to content

Instantly share code, notes, and snippets.

@ushfnuk
Created April 1, 2016 00:45
Show Gist options
  • Save ushfnuk/f598128043da1af9709338988cc6d6cc to your computer and use it in GitHub Desktop.
Save ushfnuk/f598128043da1af9709338988cc6d6cc to your computer and use it in GitHub Desktop.
Arch Linux Settings
execute pathogen#infect()
set nocompatible
set backspace=indent,eol,start
syntax on
set hlsearch
set nobk
set nowb
set expandtab
set autoindent
set shiftwidth=2
set softtabstop=2
set smartindent
set term=xterm-256color
set laststatus=2
colorscheme solarized
set runtimepath^=~/.vim/bundle/ctrlp.vim
let g:ctrlp_working_path_mode = 'a'
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
set runtimepath^=~/.vim/bundle/ag
if executable("ag")
set grepprg=ag\ --nogroup\ --nocolor
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
endif
xrandr --newmode "1600x900" 60.00 1600 1600 1600 1600 900 900 900 900 -hsync +vsync
xrandr --addmode VGA-0 1600x900
xrandr --output VGA-0 --mode 1600x900
! Solarized color scheme for the X Window System
!
! http://ethanschoonover.com/solarized
! Common
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
! Dark
#define S_base03 #002b36
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
! Light
! #define S_base03 #fdf6e3
! #define S_base02 #eee8d5
! #define S_base01 #93a1a1
! #define S_base00 #839496
! #define S_base0 #657b83
! #define S_base1 #586e75
! #define S_base2 #073642
! #define S_base3 #002b36
! To only apply colors to your terminal, for example, prefix
! the color assignment statement with its name. Example:
!
! URxvt*background: S_base03
*background: S_base03
*foreground: S_base0
*fading: 40
*fadeColor: S_base03
*cursorColor: S_base1
*pointerColorBackground: S_base01
*pointerColorForeground: S_base1
*color0: S_base02
*color1: S_red
*color2: S_green
*color3: S_yellow
*color4: S_blue
*color5: S_magenta
*color6: S_cyan
*color7: S_base2
*color9: S_orange
*color8: S_base03
*color10: S_base01
*color11: S_base00
*color12: S_base0
*color13: S_violet
*color14: S_base1
*color15: S_base3
xterm*termName: xterm-256color
xterm*selectToClipboard: true
XTerm*locale: true
XTerm*utf8: 2
XTerm*metaSendsEscape: true
Xterm*saveLines: 4096
XTerm*dynamicColors: true
! DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
! should be installed
xterm*faceName: xft:monospace:size=14
xterm*faceNameDoublesize: Liberation Mono:antialias=true
xterm*font: 8x12
XTerm*scaleHeight: 1.01
xterm*borderWidth: 0
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt HIST_IGNORE_DUPS
bindkey -v
# End of lines configured by zsh-newuser-install
zstyle :compinstall filename '/home/vit/.zshrc'
autoload -Uz compinit promptinit
compinit
promptinit
zstyle ':completion:*' menu select
zstyle ':completion:*' rehash true
setopt completealiases
ttyctl -f
setopt NO_HUP
setopt NO_CHECK_JOBS
autoload -U colors && colors
GIT_PROMPT_EXECUTABLE="haskell"
# https://github.com/olivierverdier/zsh-git-prompt.git
source ~/.git-prompt/zshrc.sh
source ~/.git-aliases
PROMPT='%{$fg_bold[red]%}%(0?..%? )%{$reset_color%}%n@%m %{$fg_bold[blue]%}%~%{$reset_color%} $(git_super_status) %{$fg[green]%}%#%{$reset_color%} '
RPROMPT="%(0?..:()"
alias ls='ls --color=auto'
alias -s pdf=xpdf
alias -s coffee=vim
alias -s avi=vlc
alias -s mkv=vlc
[[ -n "${key[PageUp]}" ]] && bindKey "${key[PageUp]}" history-beginning-search-backward
[[ -n "${key[PageDown]}" ]] && bindKey "${key[PageDown]}" history-beginning-search-forward
export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin" # Added by n-install (see http://git.io/n-install-repo).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment