mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:59:03 -08:00
fixes for new thinkpad
This commit is contained in:
parent
7f8e78c890
commit
9b354ff8b5
3 changed files with 16 additions and 7 deletions
|
@ -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 \
|
||||
|
|
13
home/vimrc
13
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue