summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-12-29 16:28:53 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-12-29 16:28:59 -0500
commitd2cd07b11f74f412c0b8666e7d88b591a36afeb5 (patch)
treed5c974d0d059ecd5a8dbdde2797d468c73f4ba9d
parent75124e467b683c9a2c24f19931685e985db52f64 (diff)
Delete old dotfiles
-rw-r--r--old/Xresources71
-rw-r--r--old/Xresources-aji48
-rw-r--r--old/Xresources-orange107
-rw-r--r--old/Xresources-pincer101
-rw-r--r--old/config/fish/config.fish6
-rw-r--r--old/config/fish/functions/__format_time.fish27
-rw-r--r--old/config/fish/functions/__parse_current_folder.fish3
-rw-r--r--old/config/fish/functions/__parse_git_branch.fish4
-rw-r--r--old/config/fish/functions/fish_prompt.fish69
-rw-r--r--old/config/fish/functions/insert_cmd.fish3
-rwxr-xr-xold/old-zshrc/zshrc85
-rw-r--r--old/tmux.conf42
-rwxr-xr-xold/vimrc109
-rwxr-xr-xold/xsession33
m---------old/zgen0
-rw-r--r--old/zshenv13
16 files changed, 0 insertions, 721 deletions
diff --git a/old/Xresources b/old/Xresources
deleted file mode 100644
index 0653342..0000000
--- a/old/Xresources
+++ /dev/null
@@ -1,71 +0,0 @@
-*customization: -color
-! urxvt*font: xft:dejavu sans mono:pixelsize=22:antialias=true
-!urxvt*font: xft:DejaVu Sans Mono:pixelsize=20:antialias=true:hinting=true
-urxvt*font: xft:iosevka term:size=14,xft:dejavu sans mono:size=14
-!urxvt*letterSpace: -5
-!urxvt*font: xft:fira code:pixelsize=22:antialias=true
-!urxvt*font: xft:inconsolata:size=18:antialias=true
-urxvt*scrollBar: false
-URxvt*termName: xterm-256color
-Xterm*termName: xterm-256color
-
-Xft.lcdfilter: lcddefault
-Xft.dpi: 96
-Xft.antialias: true
-Xft.rgba: rgb
-Xft.hinting: true
-Xft.hintstyle: hintslight
-
-
-URxvt.keysym.M-c: perl:clipboard:copy
-URxvt.keysym.M-v: perl:clipboard:paste
-URxvt.saveLines: 40000
-
-URxvt.perl-ext-common: default,matcher,resize-font,clipboard
-URxvt.clipboard.autocopy: true
-URxvt.resize-font.smaller: C-Down
-URxvt.resize-font.bigger: C-Up
-URxvt.iso14755: false
-URxvt.iso14755_52: false
-URxvt.url-launcher: /usr/bin/xdg-open
-URxvt.matcher.button: 1
-
-#define nord0 #2E3440
-#define nord1 #3B4252
-#define nord2 #434C5E
-#define nord3 #4C566A
-#define nord4 #D8DEE9
-#define nord5 #E5E9F0
-#define nord6 #ECEFF4
-#define nord7 #8FBCBB
-#define nord8 #88C0D0
-#define nord9 #81A1C1
-#define nord10 #5E81AC
-#define nord11 #BF616A
-#define nord12 #D08770
-#define nord13 #EBCB8B
-#define nord14 #A3BE8C
-#define nord15 #B48EAD
-
-*.foreground: nord6
-*.background: nord0
-*.cursorColor: nord4
-*fading: 15
-*fadeColor: nord3
-
-*.color0: nord1
-*.color1: nord11
-*.color2: nord14
-*.color3: nord13
-*.color4: nord9
-*.color5: nord15
-*.color6: nord8
-*.color7: nord5
-*.color8: nord3
-*.color9: nord11
-*.color10: nord14
-*.color11: nord13
-*.color12: nord9
-*.color13: nord15
-*.color14: nord7
-*.color15: nord6
diff --git a/old/Xresources-aji b/old/Xresources-aji
deleted file mode 100644
index 61ee782..0000000
--- a/old/Xresources-aji
+++ /dev/null
@@ -1,48 +0,0 @@
-urxvt*font: xft:dejavu sans mono:size=10:antialias=true
-!urxvt*font: xft:inconsolata:size=14:antialias=true
-urxvt*scrollBar: false
-
-Xterm*termName: xterm-256color
-URxvt*termName: xterm-256color
-
-Xft.lcdfilter: lcddefault
-Xft.dpi: 96
-Xft.antialias: true
-Xft.rgba: rgb
-Xft.hinting: true
-Xft.hintstyle: hintslight
-
-URxvt.perl-lib: /home/orbekk/.urxvt/ext
-URxvt.keysym.M-c: perl:clipboard:copy
-URxvt.keysym.M-v: perl:clipboard:paste
-URxvt.scrollBar: false
-URxvt.saveLines: 40000
-URxvt.perl-ext-common: default,matcher,resize-font,clipboard
-URxvt.clipboard.autocopy: true
-URxvt.resize-font.smaller: C-Down
-URxvt.resize-font.bigger: C-Up
-URxvt.iso14755: false
-URxvt.iso14755_52: false
-URxvt.url-launcher: /usr/bin/xdg-open
-URxvt.matcher.button: 1
-
-urxvt*foreground: white
-urxvt*background: black
-
-! #2E3436
-*color0: #000000
-*color1: #a40000
-*color2: #4E9A06
-*color3: #C4A000
-*color4: #3465A4
-*color5: #75507B
-*color6: #ce5c00
-*color7: #babdb9
-*color8: #555753
-*color9: #EF2929
-*color10: #8AE234
-*color11: #FCE94F
-*color12: #729FCF
-*color13: #AD7FA8
-*color14: #fcaf3e
-*color15: #EEEEEC
diff --git a/old/Xresources-orange b/old/Xresources-orange
deleted file mode 100644
index 0169c37..0000000
--- a/old/Xresources-orange
+++ /dev/null
@@ -1,107 +0,0 @@
-*customization: -color
-Xterm*termName: xterm-256color
-URxvt*termName: xterm-256color
-
-Xft.lcdfilter: lcddefault
-Xft.dpi: 96
-Xft.antialias: true
-Xft.rgba: rgb
-Xft.hinting: true
-Xft.hintstyle: hintslight
-
-!! Droid Sans Mono
-!URxvt.font: xft:Droid Sans Mono-9:hinting=True;antialias:True,xft:Bitstream Vera Sans Mono,9x15
-!urxvt*font: xft:bitstream vera sans mono:size=10:antialias=true
-!URxvt.font: xft:Fira Code:pixelsize=12,hinting=True,antialias:True,style=regular
-URxvt.font: xft:Fira Code:pixelsize=14,hinting=True,antialias=True
-!URxvt.letterSpace: -1
-URxvt.keysym.M-c: perl:clipboard:copy
-URxvt.keysym.M-v: perl:clipboard:paste
-URxvt.scrollBar: false
-URxvt.saveLines: 40000
-
-URxvt.perl-ext-common: default,matcher,resize-font,clipboard
-URxvt.clipboard.autocopy: true
-URxvt.resize-font.smaller: C-Down
-URxvt.resize-font.bigger: C-Up
-URxvt.iso14755: false
-URxvt.iso14755_52: false
-
-URxvt.url-launcher: /usr/bin/xdg-open
-URxvt.matcher.button: 1
-
-!urxvt*foreground: white
-!urxvt*background: black
-
-! Base16 Monokai
-! Scheme: Wimer Hazenberg (http://www.monokai.nl)
-
-! #define base00 #272822
-! #define base01 #383830
-! #define base02 #49483e
-! #define base03 #75715e
-! #define base04 #a59f85
-! #define base05 #f8f8f2
-! #define base06 #f5f4f1
-! #define base07 #f9f8f5
-! #define base08 #f92672
-! #define base09 #fd971f
-! #define base0A #f4bf75
-! #define base0B #a6e22e
-! #define base0C #a1efe4
-! #define base0D #66d9ef
-! #define base0E #ae81ff
-! #define base0F #cc6633
-
-! Base16 Spacemacs
-
-#define base00 #1f2022
-#define base01 #282828
-#define base02 #444155
-#define base03 #585858
-#define base04 #b8b8b8
-#define base05 #e3e3e3
-#define base06 #e8e8e8
-#define base07 #f8f8f8
-#define base08 #f2241f
-#define base09 #ffa500
-#define base0A #b1951d
-#define base0B #67b11d
-#define base0C #2d9574
-#define base0D #4f97d7
-#define base0E #a31db1
-#define base0F #b03060
-
-*.foreground: base05
-*.background: base00
-!URxvt*depth: 32
-!URxvt*background: rgba:0000/0000/0200/c800
-*.cursorColor: base05
-
-*.color0: base00
-*.color1: base08
-*.color2: base0B
-*.color3: base0A
-*.color4: base0D
-*.color5: base0E
-*.color6: base0C
-*.color7: base05
-
-*.color8: base03
-*.color9: base08
-*.color10: base0B
-*.color11: base0A
-*.color12: base0D
-*.color13: base0E
-*.color14: base0C
-*.color15: base07
-
-! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
-! use 'shell' template to set these if necessary
-*.color16: base09
-*.color17: base0F
-*.color18: base01
-*.color19: base02
-*.color20: base04
-*.color21: base06
-
diff --git a/old/Xresources-pincer b/old/Xresources-pincer
deleted file mode 100644
index d90a24d..0000000
--- a/old/Xresources-pincer
+++ /dev/null
@@ -1,101 +0,0 @@
-*customization: -color
-! urxvt*font: xft:dejavu sans mono:pixelsize=22:antialias=true
-!urxvt*font: xft:DejaVu Sans Mono:pixelsize=20:antialias=true:hinting=true
-urxvt*font: xft:fira code:pixelsize=22:antialias=true:hinting=true
-!urxvt*letterSpace: -5
-!urxvt*font: xft:fira code:pixelsize=22:antialias=true
-!urxvt*font: xft:inconsolata:size=18:antialias=true
-urxvt*scrollBar: false
-URxvt*termName: xterm-256color
-Xterm*termName: xterm-256color
-
-Xcursor.size: 24
-
-Xft.lcdfilter: lcddefault
-Xft.dpi: 96
-Xft.antialias: true
-Xft.rgba: rgb
-Xft.hinting: true
-Xft.hintstyle: hintslight
-
-
-URxvt.keysym.M-c: perl:clipboard:copy
-URxvt.keysym.M-v: perl:clipboard:paste
-URxvt.saveLines: 40000
-
-URxvt.perl-ext-common: default,matcher,resize-font,clipboard
-URxvt.clipboard.autocopy: true
-URxvt.resize-font.smaller: C-Down
-URxvt.resize-font.bigger: C-Up
-URxvt.iso14755: false
-URxvt.iso14755_52: false
-URxvt.url-launcher: /usr/bin/xdg-open
-URxvt.matcher.button: 1
-
-urxvt*foreground: white
-urxvt*background: black
-
-*color0: #2E3436
-*color1: #a40000
-*color2: #4E9A06
-*color3: #C4A000
-*color4: #3465A4
-*color5: #75507B
-*color6: #ce5c00
-*color7: #babdb9
-*color8: #555753
-*color9: #EF2929
-*color10: #8AE234
-*color11: #FCE94F
-*color12: #729FCF
-*color13: #AD7FA8
-*color14: #fcaf3e
-*color15: #EEEEEC
-
-! #define base00 #272822
-! #define base01 #383830
-! #define base02 #49483e
-! #define base03 #75715e
-! #define base04 #a59f85
-! #define base05 #f8f8f2
-! #define base06 #f5f4f1
-! #define base07 #f9f8f5
-! #define base08 #f92672
-! #define base09 #fd971f
-! #define base0A #f4bf75
-! #define base0B #a6e22e
-! #define base0C #a1efe4
-! #define base0D #66d9ef
-! #define base0E #ae81ff
-! #define base0F #cc6633
-!
-! *.foreground: base05
-! *.background: base00
-! *.cursorColor: base05
-!
-! *.color0: base00
-! *.color1: base08
-! *.color2: base0B
-! *.color3: base0A
-! *.color4: base0D
-! *.color5: base0E
-! *.color6: base0C
-! *.color7: base05
-!
-! *.color8: base03
-! *.color9: base08
-! *.color10: base0B
-! *.color11: base0A
-! *.color12: base0D
-! *.color13: base0E
-! *.color14: base0C
-! *.color15: base07
-!
-! ! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
-! ! use 'shell' template to set these if necessary
-! *.color16: base09
-! *.color17: base0F
-! *.color18: base01
-! *.color19: base02
-! *.color20: base04
-! *.color21: base06
diff --git a/old/config/fish/config.fish b/old/config/fish/config.fish
deleted file mode 100644
index 885e7bd..0000000
--- a/old/config/fish/config.fish
+++ /dev/null
@@ -1,6 +0,0 @@
-bind \ec insert_cmd
-
-set -x EDITOR nvim
-set -x TZ 'America/New_York'
-set -x PATH "$HOME/bin" $PATH
-
diff --git a/old/config/fish/functions/__format_time.fish b/old/config/fish/functions/__format_time.fish
deleted file mode 100644
index 298e4cb..0000000
--- a/old/config/fish/functions/__format_time.fish
+++ /dev/null
@@ -1,27 +0,0 @@
-function __format_time -d "Format milliseconds to a human readable format"
- set -l milliseconds $argv[1]
- set -l seconds (math "$milliseconds / 1000 % 60")
- set -l minutes (math "$milliseconds / 60000 % 60")
- set -l hours (math "$milliseconds / 3600000 % 24")
- set -l days (math "$milliseconds / 86400000")
- set -l time
- set -l threshold 5
-
- if test $days -gt 0
- set time (command printf "$time%sd " $days)
- end
-
- if test $hours -gt 0
- set time (command printf "$time%sh " $hours)
- end
-
- if test $minutes -gt 0
- set time (command printf "$time%sm " $minutes)
- end
-
- if test $seconds -gt $threshold
- set time (command printf "$time%ss " $seconds)
- end
-
- echo -e $time
-end
diff --git a/old/config/fish/functions/__parse_current_folder.fish b/old/config/fish/functions/__parse_current_folder.fish
deleted file mode 100644
index 031b53e..0000000
--- a/old/config/fish/functions/__parse_current_folder.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function __parse_current_folder -d "Replace '$HOME' with '~'"
- pwd | sed "s|$HOME|~|"
-end
diff --git a/old/config/fish/functions/__parse_git_branch.fish b/old/config/fish/functions/__parse_git_branch.fish
deleted file mode 100644
index 42b46fb..0000000
--- a/old/config/fish/functions/__parse_git_branch.fish
+++ /dev/null
@@ -1,4 +0,0 @@
-function __parse_git_branch -d "Parse current Git branch name"
- command git symbolic-ref --short HEAD ^/dev/null;
- or command git show-ref --head -s --abbrev | head -n1 ^/dev/null
-end
diff --git a/old/config/fish/functions/fish_prompt.fish b/old/config/fish/functions/fish_prompt.fish
deleted file mode 100644
index bd142dd..0000000
--- a/old/config/fish/functions/fish_prompt.fish
+++ /dev/null
@@ -1,69 +0,0 @@
-function fish_prompt --description 'Write out the prompt'
- set -l last_status $status
-
- # Just calculate this once, to save a few cycles when displaying the prompt
- if not set -q __fish_prompt_hostname
- set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
- end
-
- set -l normal (set_color normal)
-
- # Hack; fish_config only copies the fish_prompt function (see #736)
- if not set -q -g __fish_classic_git_functions_defined
- set -g __fish_classic_git_functions_defined
-
- function __fish_repaint_user --on-variable fish_color_user --description "Event handler, repaint when fish_color_user changes"
- if status --is-interactive
- commandline -f repaint ^/dev/null
- end
- end
-
- function __fish_repaint_host --on-variable fish_color_host --description "Event handler, repaint when fish_color_host changes"
- if status --is-interactive
- commandline -f repaint ^/dev/null
- end
- end
-
- function __fish_repaint_status --on-variable fish_color_status --description "Event handler; repaint when fish_color_status changes"
- if status --is-interactive
- commandline -f repaint ^/dev/null
- end
- end
-
- function __fish_repaint_bind_mode --on-variable fish_key_bindings --description "Event handler; repaint when fish_key_bindings changes"
- if status --is-interactive
- commandline -f repaint ^/dev/null
- end
- end
-
- # initialize our new variables
- if not set -q __fish_classic_git_prompt_initialized
- set -qU fish_color_user; or set -U fish_color_user -o green
- set -qU fish_color_host; or set -U fish_color_host -o cyan
- set -qU fish_color_status; or set -U fish_color_status red
- set -U __fish_classic_git_prompt_initialized
- end
- end
-
- set -l color_cwd
- set -l prefix
- switch $USER
- case root toor
- if set -q fish_color_cwd_root
- set color_cwd $fish_color_cwd_root
- else
- set color_cwd $fish_color_cwd
- end
- set suffix '#'
- case '*'
- set color_cwd $fish_color_cwd
- set suffix '>'
- end
-
- set -l prompt_status
- if test $last_status -ne 0
- set prompt_status ' ' (set_color $fish_color_status) "[$last_status]" "$normal"
- end
-
- echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $fish_color_host) "$__fish_prompt_hostname" $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (__fish_vcs_prompt) $normal $prompt_status "> "
-end
diff --git a/old/config/fish/functions/insert_cmd.fish b/old/config/fish/functions/insert_cmd.fish
deleted file mode 100644
index b167734..0000000
--- a/old/config/fish/functions/insert_cmd.fish
+++ /dev/null
@@ -1,3 +0,0 @@
-function insert_cmd
- commandline -i (pwd)
-end
diff --git a/old/old-zshrc/zshrc b/old/old-zshrc/zshrc
deleted file mode 100755
index 6eef91c..0000000
--- a/old/old-zshrc/zshrc
+++ /dev/null
@@ -1,85 +0,0 @@
-# :)
-# ulimit -v 4194304 # 4G
-# ulimit -u 1024
-
-if [[ -f $HOME/.zshrc.local ]]; then
- source $HOME/.zshrc.local
-fi
-
-# Don't upgrade oh-my-zsh automatically.
-DISABLE_AUTO_UPDATE="true"
-
-source $HOME/dotfiles/zgen/zgen.zsh
-# check if there's no init script
-if ! zgen saved; then
- echo "Creating a zgen save"
- zgen oh-my-zsh
- # plugins
- # zgen oh-my-zsh plugins/git
- zgen oh-my-zsh plugins/ssh-agent
- zgen oh-my-zsh plugins/gpg-agent
- zgen oh-my-zsh plugins/colored-man-pages
- zgen oh-my-zsh plugins/sudo
- zgen oh-my-zsh plugins/history
- zgen oh-my-zsh plugins/jump
- zgen oh-my-zsh plugins/command-not-found
- zgen oh-my-zsh plugins/taskwarrior
- zgen load zsh-users/zsh-syntax-highlighting
- # completions
- zgen load zsh-users/zsh-completions src
- # theme
- # zgen oh-my-zsh themes/frisk
- zgen load ehamberg/pure
- # save all to init script
- zgen save
-fi
-
-setopt extendedglob
-LANG=en_US.UTF-8
-HISTSIZE=1000000
-SAVEHIST=1000000
-
-if (( $+commands[ack-grep] )) ; then
- alias ack=ack-grep
-fi
-
-# Emacs-like editor
-bindkey -e
-export WORDCHARS=''
-
-# Dvorak
-setopt DVORAK
-
-alias e="emacsclient -n"
-alias vi=/usr/games/sl
-
-alias ff="fileutil --gfs_user=gfp-reporting"
-alias diff=colordiff
-alias j=jump
-
-export EDITOR=vim
-export PAGER=less
-export TZ='America/New_York'
-export PATH=$HOME/bin:$PATH
-
-# allow editing of command line
-autoload -U edit-command-line
-zle -N edit-command-line
-bindkey "^V" edit-command-line
-
-function get-parent-dir() {
- words=(${(z)LBUFFER})
- if [[ "${words[${#words}]}" = /* ]]; then
- # There is already a path thing here.
- words[${#words}]="${words[${#words}]:h}/" # Parent directory.
- else
- words=($words $PWD)
- fi
- LBUFFER="${words[@]}"
-}
-zle -N get-parent-dir
-bindkey "^[u" get-parent-dir
-
-fpath=($HOME/.zsh-functions $fpath)
-autoload -Uz compinit
-compinit
diff --git a/old/tmux.conf b/old/tmux.conf
deleted file mode 100644
index b92ba2a..0000000
--- a/old/tmux.conf
+++ /dev/null
@@ -1,42 +0,0 @@
-unbind C-b
-set -g prefix ^A
-bind ^A send-prefix
-set -g aggressive-resize on
-set-window-option -g mode-keys vi
-
-set -g default-terminal "screen-256color"
-
-## no status bar
-set -g status off
-bind-key b set-option -g status
-
-## supposed to help neovim
-set -g escape-time 10
-
-## colors
-set -g pane-border-fg black
-set -g pane-active-border-fg blue
-
-## scrolling
-## NOPE
-set -g mode-mouse off
-
-## color customization
-set -g pane-active-border-bg default
-set -g pane-active-border-fg "#373b41"
-set -g pane-border-bg default
-set -g pane-border-fg "#373b41"
-
-set -g status-fg white
-set -g status-bg "#111199"
-set -g status-right ''
-set-option -g status-position top
-
-set -g clock-mode-colour "#81a2ae"
-set -g clock-mode-style 24
-
-set -g message-bg "#8abeb7"
-set -g message-fg "#000000"
-
-set -g mode-bg "#8abeb7"
-set -g mode-fg "#000000"
diff --git a/old/vimrc b/old/vimrc
deleted file mode 100755
index 32e6fc5..0000000
--- a/old/vimrc
+++ /dev/null
@@ -1,109 +0,0 @@
-let mapleader = ","
-syntax on
-
-filetype off
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
-" TODO(orbekk): Try ctrlp.vim instead.
-" Plugin 'wincent/command-t'
-" Plugin 'ctrlpvim/ctrlp.vim'
-Plugin 'chriskempson/base16-vim'
-Plugin 'chriskempson/vim-tomorrow-theme'
-Plugin 'gmarik/Vundle.vim'
-Plugin 'Shougo/vimproc.vim'
-Plugin 'Shougo/unite.vim'
-Plugin 'Shougo/unite-outline'
-Plugin 'Shougo/neomru.vim'
-call vundle#end()
-
-set modeline
-set tabpagemax=20
-set autoread
-set noswapfile
-set timeoutlen=1000
-set ignorecase
-set expandtab
-set shiftwidth=2
-set softtabstop=2
-set smarttab
-set smartcase
-set incsearch
-set autoindent
-set formatoptions=crt
-setglobal fileencoding=utf-8
-set fileencodings=ucs-bomb,utf-8,latin1
-set virtualedit=block
-set hidden
-set confirm
-inoremap <C-c> <nop>
-set hlsearch
-
-filetype plugin on
-filetype indent on
-
-setlocal complete+=ktags
-
-nmap <silent> <C-N> :silent noh<CR>
-map <leader>cd :cd %:p:h<CR>:pwd<CR>
-
-if executable('ag')
-let g:unite_source_grep_command = 'ag'
-let g:unite_source_grep_default_opts =
-\ '-i --vimgrep --ignore ' .
-\ '''.hg'' --ignore ''.svn'' --ignore ''.git'' --ignore ''.bzr'''
-endif
-
-let g:unite_source_history_yank_enable = 1
-call unite#filters#matcher_default#use(['matcher_fuzzy'])
-nnoremap <leader>t :<C-u>Unite -no-split -buffer-name=files -start-insert file_mru file_rec/async:.<cr>
-nnoremap <leader>r :<C-u>Unite -no-split -buffer-name=mru -start-insert file_rec/git<cr>
-nnoremap <leader>O :<C-u>Unite -no-split -buffer-name=outline outline<cr>
-nnoremap <leader>y :<C-u>Unite -no-split -buffer-name=yank history/yank<cr>
-nnoremap <leader>b :<C-u>Unite -no-split -buffer-name=buffer buffer bookmark<cr>
-nnoremap <leader>g :<C-u>Unite -no-split -buffer-name=grep -start-insert grep:.<cr>
-
-" map <leader>t :CtrlP<CR>
-" map <leader>b :CtrlPBuffer<CR>
-" map <leader>r :CtrlPMRU<CR>
-
-set wildignore+=*.class,target/*,project/*
-
-"set guifont=DroidSansMono\ 10
-set guifont="Source Code Pro 10"
-set guioptions-=m
-set guioptions-=M
-set guioptions-=T
-set guioptions-=r
-set guioptions-=L
-
-set colorcolumn=81
-
-map <leader>R :source ~/.vimrc<CR>
-
-function! GetFileBase()
- return substitute(expand("%"),
- \ '\(.\{-}\)\(_test\|_unittest\)\?\.\(h\|cc\)$', '\1', "")
-endfunction
-
-" Switch between cc, h, test/unittest files.
-function! EditCc()
- exec "edit " . fnameescape(GetFileBase() . ".cc")
-endfunction
-map <leader>cc :silent :call EditCc()<CR>
-
-function! EditH()
- exec "edit " . fnameescape(GetFileBase() . ".h")
-endfunction
-map <leader>h :silent :call EditH()<CR>
-
-function! EditTest()
- let file_base = GetFileBase()
- if (filereadable(file_base . "_unittest.cc"))
- exec "edit " . fnameescape(file_base . "_unittest.cc")
- else
- exec "edit " . fnameescape(file_base . "_test.cc")
- endif
-endfunction
-map <leader>te :silent :call EditTest()<CR>
-
-source ~/.vimrc.local
diff --git a/old/xsession b/old/xsession
deleted file mode 100755
index f7e402c..0000000
--- a/old/xsession
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-
-export TERMINAL=urxvt
-export MPD_HOST=sabaki.kk.orbekk.com
-command -v $TERMINAL || TERMINAL=termite
-command -v $TERMINAL || TERMINAL=gnome-terminal
-PATH=$HOME/.cabal/bin:$PATH
-xrdb -merge $HOME/.Xresources
-setxkbmap us -variant dvorak -option compose:ralt -option caps:ctrl_modifier
-$HOME/bin/keyboard_setup.sh
-xscreensaver -no-splash &
-xbindkeys
-xset -b
-xss-lock -- /usr/bin/env xscreensaver-command --lock &
-pasystray &
-xsetroot -solid "#2A3462"
-trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 100 --widthtype pixel --transparent true --alpha 0 --tint 0x000000 --height 18 &
-[[ $(hostname) == kikashi ]] && \
- xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.5
-if [[ $(hostname) == orange.nyc.corp.google.com ]]; then
- xinput set-prop "Logitech USB Trackball" "Device Accel Constant Deceleration" 1.0
- xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 1
- xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8
- true
-fi
-if [[ $(hostname) == pincer ]]; then
- # xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.5
- # xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 0.5
- true
-fi
-[[ -f /etc/nixos/configuration.nix ]] || \
- redshift -l 40:-70 -r -t 5500:3700 &
-exec xmonad
diff --git a/old/zgen b/old/zgen
deleted file mode 160000
-Subproject 0b669d2d0dcf788b4c81a7a30b4fa41dfbf7d1a
diff --git a/old/zshenv b/old/zshenv
deleted file mode 100644
index 616a2d3..0000000
--- a/old/zshenv
+++ /dev/null
@@ -1,13 +0,0 @@
-# Start configuration added by Zim install {{{
-#
-# User configuration sourced by all invocations of the shell
-#
-
-# Define Zim location
-: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim}
-# }}} End configuration added by Zim install
-
-export ZSHENV_LOADED=true
-export EDITOR=nvim
-export PATH=$PATH:$HOME/bin
-export TERMINAL=urxvt