From 9b354ff8b5a1a6090bae5e4487bc0790396f13dc Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 30 Mar 2015 21:42:01 -0700 Subject: [PATCH] fixes for new thinkpad --- home/-shrc | 8 +++++++- home/vimrc | 13 +++++++------ home/zshrc | 2 ++ 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/home/-shrc b/home/-shrc index 224b7c5..6c8593b 100644 --- a/home/-shrc +++ b/home/-shrc @@ -11,6 +11,9 @@ ADDPATH() { } ADDPATH "$HOME/opt/local/bin" +# https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1380084 +export SSH_AUTH_SOCK=0 + r="$HOME/.gem/ruby/2.2.0/bin" mkdir -p "$r" && ADDPATH "$r" unset r @@ -97,7 +100,10 @@ function trash() { . ~/sh/z/z.sh -export MPV_STREAM_FLAGS="--quiet --no-sub --vo=opengl:swapinterval=0" +export MPV_STREAM_FLAGS="--quiet --no-sub" +if [[ "$(uname -n)" != "banshee" ]]; then + export MPV_STREAM_FLAGS="$MPV_STREAM_FLAGS --vo=opengl:swapinterval=0" +fi twitch(){ livestreamer "twitch.tv/$1" best -p mpv -a \ diff --git a/home/vimrc b/home/vimrc index 2b3c00e..47be638 100644 --- a/home/vimrc +++ b/home/vimrc @@ -68,12 +68,6 @@ if has('gui_running') cd $HOME " might not be ideal... endif -try - colorscheme Tomorrow-Night -catch /E185/ - colorscheme desert -endtry - if has('title') | set title | endif " terminal title set history=512 " command lines to remember set colorcolumn=79 @@ -319,3 +313,10 @@ set list listchars=tab:»·,trail:·,extends:…,nbsp:‗ "set list listchars=tab:>-,trail:.,extends:>,nbsp:_ try | execute pathogen#infect() | catch /E117/ | endtry + +set background=dark +try + colorscheme Tomorrow-Night +catch /E185/ + colorscheme desert +endtry diff --git a/home/zshrc b/home/zshrc index 540baf0..ebb1e05 100644 --- a/home/zshrc +++ b/home/zshrc @@ -100,6 +100,8 @@ zle -N history-beginning-search-backward-end history-search-end zle -N history-beginning-search-forward-end history-search-end bindkey '^[[A' history-beginning-search-backward-end # up bindkey '^[[B' history-beginning-search-forward-end # down +bindkey '^[OA' history-beginning-search-backward-end # up +bindkey '^[OB' history-beginning-search-forward-end # down bindkey ';5D' emacs-backward-word # ctrl+left bindkey ';5C' emacs-forward-word # ctrl+right