From b9f1390acc815e182393bacf8d991d555021d7a9 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 20 Jan 2015 07:43:44 -0500 Subject: [PATCH] Minor less/other fixes --- scripts/desktop.txt | 2 +- scripts/server.txt | 1 + shells/zshrc | 6 ++---- vim/vimrc | 2 ++ 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/desktop.txt b/scripts/desktop.txt index 51991b3..c16781f 100644 --- a/scripts/desktop.txt +++ b/scripts/desktop.txt @@ -17,7 +17,7 @@ gparted mysql-workbench wireshark unetbootin -exiv2 +#exiv2 xdotool htop #wicd-daemon diff --git a/scripts/server.txt b/scripts/server.txt index 9fda9a8..eb69abd 100644 --- a/scripts/server.txt +++ b/scripts/server.txt @@ -77,3 +77,4 @@ hfsutils hfsprogs vifm git-annex +pwgen diff --git a/shells/zshrc b/shells/zshrc index 76eaaac..8a5f2cb 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -13,8 +13,6 @@ SAVEHIST=10000000 setopt HIST_EXPIRE_DUPS_FIRST setopt EXTENDED_HISTORY # export PAGER=/usr/bin/w3m -export PAGER=/usr/bin/less -alias less=$PAGER source "$HOME/.antigen/antigen.zsh" antigen bundle stonewareslord/oh-my-git #antigen bundle arialdomartini/oh-my-git @@ -53,9 +51,9 @@ alias l='ls -CF' alias logout='sudo pkill -u $USER' alias fixsh='ssh-keygen -R' alias tmux='tmux -2' -#alias less='less -r' +alias less='less -R' alias tree='tree -C' -#alias grep="egrep -i --color=auto" +alias grep="grep -P" alias skim="(head -5; tail -5) <" function cp() { rsync -ha --info=progress2 "$@" } function c() { cp "$@" } diff --git a/vim/vimrc b/vim/vimrc index 8908cf6..7a59f41 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -26,6 +26,7 @@ nnoremap :!make&&echo "Uploading robot code";wput ./PPC603gnu/src/Debug/src nnoremap G G$ vnoremap G G$ nnoremap :GundoToggle +nnoremap :argdo normal nnoremap :TagbarToggle nnoremap + nnoremap - @@ -174,6 +175,7 @@ set gdefault set nocompatible set rtp+=~/.vim/bundle/vundle/ set ignorecase +set textwidth=0 syntax on let g:airline_left_sep='▶' let g:airline_right_sep='◀'