=== removed directory 'overlay/ccx-meta/base-utilities/files/skel-3' === removed file 'overlay/ccx-meta/base-utilities/files/skel-3/.tmux.conf' --- overlay/ccx-meta/base-utilities/files/skel-3/.tmux.conf 2012-05-16 13:57:33 +0000 +++ overlay/ccx-meta/base-utilities/files/skel-3/.tmux.conf 1970-01-01 00:00:00 +0000 @@ -1,79 +0,0 @@ -# use 256color terminal -set -g default-terminal screen-256color - -# split windows like vim -# vim's definition of a horizontal/vertical split is reversed from tmux's -bind s split-window -v -bind v split-window -h - -# move around panes with j and k, a bit like vim -# as of tmux 1.1, there is no way to move based on pane position (ie, no way to -# move the pane to the right) -bind -r j select-pane -D -bind -r k select-pane -U -bind -r h select-pane -L -bind -r l select-pane -R - -# resize panes like vim -# feel free to change the "1" to however many lines you want to resize by, only -# one at a time can be slow -bind -r < resize-pane -L 1 -bind -r > resize-pane -R 1 -bind -r - resize-pane -D 1 -bind -r + resize-pane -U 1 - -# create new window and show statusbar -# useful if you spawn session without one -bind c new-window \; set status on \; bind c new-window - -# bind : to command-prompt like vim -# this is the default in tmux already -bind : command-prompt -# I can't bind C-: so use C-l for now -bind -n "C-l" command-prompt - -# to reload config file -bind R source ~/.tmux.conf - -bind K confirm-before kill-pane -bind L choose-buffer "copy-buffer -a %%" -bind P choose-buffer - -bind b set status off -bind B set status on - -bind m setw monitor-activity off -bind M setw monitor-activity on - -# X11 clipboard integration -bind x run "tmux save-buffer - | xclip -i" -bind X run "xclip -o | tmux load-buffer -" - -bind e capture-pane \; neww "tmux save-buffer - | vim -" - -# vi-style controls for copy mode -setw -g mode-keys vi -set -g status-keys vi - -bind-key -t vi-copy V rectangle-toggle # enter 'visual mode' -bind-key -t vi-copy v begin-selection # enter 'visual mode' -bind-key -t vi-copy y copy-selection # 'yank' - -# format strings for window title & statusbar -set -g set-titles on -set -g set-titles-string "#W - tmux::#S:#(whoami)@#H" - -#set -g status-justify centre -set -g status-bg black -set -g status-fg white -set -g status-left-fg green -set -g status-left-length 30 -set -g status-left "[#(whoami)@#H:#S]" -set -g status-right-fg yellow -set -g status-right "%Y-%m-%d %H:%M" - -setw -g window-status-alert-attr default -setw -g window-status-alert-fg yellow -setw -g window-status-fg cyan -setw -g window-status-format "(#I#F #10W)" -setw -g window-status-current-format "#[fg=red][#[fg=white]#I#F #W#[fg=red]]" === removed file 'overlay/ccx-meta/base-utilities/files/skel-3/.zshrc' --- overlay/ccx-meta/base-utilities/files/skel-3/.zshrc 2012-05-16 13:57:33 +0000 +++ overlay/ccx-meta/base-utilities/files/skel-3/.zshrc 1970-01-01 00:00:00 +0000 @@ -1,210 +0,0 @@ -# Load system settings -source /etc/zsh/zprofile - -######################################### -# set $fpath before we autoload scripts # -######################################### - -fpath=( ~/.zsh/functions $fpath ) - -if [ -d ~/.zen ] -then - fpath=( - $fpath - /home/ccx/.zen/zsh/scripts - /home/ccx/.zen/zsh/zle ) - autoload -U zen - #zen update -fi - -########################## -# autoload for functions # -########################## - -autoload -U compinit promptinit -compinit - -autoload -Uz vcs_info - -autoload -U edit-command-line -zle -N edit-command-line - -############### -# keybindings # -############### - -# insert -bindkey "^[[2~" overwrite-mode -# delete -bindkey "^[[3~" delete-char -bindkey "^[3~" delete-char - -# home -bindkey "^[[7~" beginning-of-line -bindkey "^[[1~" beginning-of-line -bindkey "^[[H" beginning-of-line -bindkey "^[OH" beginning-of-line -# end -bindkey "^[[8~" end-of-line -bindkey "^[[4~" end-of-line -bindkey "^[[F" end-of-line -bindkey "^[OF" end-of-line - -# page up -bindkey "^[[5~" history-beginning-search-backward -# page down -bindkey "^[[6~" history-beginning-search-forward - -# ctrl-z -bindkey '^z' edit-command-line - -# ctrl-e -bindkey ^E menu-expand-or-complete - -# tab -bindkey ^I complete-word - -# ctrl+arrow -bindkey "^[OC" forward-word -bindkey "^[OD" backward-word - -################## -# shell features # -################## - -unsetopt equals -setopt interactivecomments - -HISTSIZE=100000 -SAVEHIST=100000 -HISTFILE=~/.zsh-history -setopt INC_APPEND_HISTORY - -######################### -# configuration helpers # -######################### - -in_path() { - [[ -x ${commands[${1}]} ]] -} - -########### -# aliases # -########### - -alias ls="ls --color" -alias ll="ls -lh --color --time-style=long-iso" -alias ns="netstat -ltup" -#alias ns="sudo netstat -atp" -#alias man=w3mman - -if in_path vim -then - alias vi=vim - export EDITOR=${commands[vim]} -fi - -mkcd(){ - mkdir $* && cd ${argv[-1]} -} - -ssh() { - TERM=${TERM%-256color} /usr/bin/ssh $@ -} - -############## -# the prompt # -############## - -promptinit; prompt gentoo yellow -PS1="\${vcs_info_msg_0_}%(?..%B%F{yellow}<%?>)%(1j.%B%F{cyan}{%j}.)$PS1" -setopt PROMPT_SUBST - -#if [ "$TERM" = "screen" ] -#then -# #PS1=$'%{\ek\e\\%}'"${PS1}" -# #PS1=$'%{\ek%~\e\\%}'"${PS1}" -# PS1=$'%{\ek%n@%m:%~\e\\%}'"${PS1}" -#fi - -PS4='+%B%* %F{cyan}%N%f:%F{yellow}%i%f>%b ' - -zstyle ':vcs_info:*' enable git svn hg bzr - -# bzr specific - -#zstyle ':vcs_info:bzr:*' use-simple true -zstyle ':vcs_info:bzr:*' check-for-changes true -zstyle ':vcs_info:bzr:*:'${HOME:t} formats '%F{red}%m%f' -zstyle ':vcs_info:bzr:*' formats '%F{green}%s: %b %F{cyan}%m%f -' -zstyle ':vcs_info:bzr:*' branchformat '%F{yellow}%b %F{green}rev:%r' - -# git / hg - -zstyle ':vcs_info:(hg|git):*' formats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f -' -zstyle ':vcs_info:(hg|git):*' actionformats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f -' - -precmd(){ - vcs_info -} - -############################## -# online syntax highlighting # -############################## - -if [[ -f ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then - ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets cursor) #pattern #cursor - source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh - #ZSH_HIGHLIGHT_STYLES[cursor]='bg=black,fg=white' - ZSH_HIGHLIGHT_STYLES[cursor]='none' - ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]='bg=blue' - - ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=cyan,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=red,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold' - ZSH_HIGHLIGHT_STYLES[bracket-level-5]='fg=green,bold' - - ZSH_HIGHLIGHT_STYLES[assign]='fg=cyan' - - ZSH_HIGHLIGHT_STYLES[builtin]='fg=yellow' - ZSH_HIGHLIGHT_STYLES[precommand]='fg=yellow' - - ZSH_HIGHLIGHT_STYLES[command]='bold' - ZSH_HIGHLIGHT_STYLES[hashed-command]='bold' - - ZSH_HIGHLIGHT_STYLES[globbing]='fg=cyan' - ZSH_HIGHLIGHT_STYLES[path]='bold' - - ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=magenta,bold' - ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=magenta,bold' -fi - -################### -# the environment # -################### - -if [ -e "${HOME}/.gtkrc-2.0" ]; then - export GTK2_RC_FILES="${HOME}/.gtkrc-2.0" -fi - -if [ -e "${HOME}/.dircolors" ]; then - eval $(dircolors -b "${HOME}/.dircolors") -elif [ -e /etc/DIR_COLORS ] -then - eval $(dircolors -b /etc/DIR_COLORS) -fi - -zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} - -# Run keychain if available - -if in_path keychain -then - keychain -Q -q - source ~/.keychain/${HOST}-sh* -fi -