Tony Duckles [Sat, 6 Apr 2013 01:27:19 +0000 (20:27 -0500)]
.vimrc: Darker StatusLine colors
Tony Duckles [Sat, 6 Apr 2013 01:26:41 +0000 (20:26 -0500)]
.gitconfig: Add "dfw" alias for "diff --word-diff"
Tony Duckles [Tue, 2 Apr 2013 22:39:34 +0000 (17:39 -0500)]
.bashrc: Fix svn-wrapper usage
Tony Duckles [Sun, 31 Mar 2013 23:28:54 +0000 (18:28 -0500)]
bin/svn-wrapper: Add svn-wrapper
Create a wrapper script around SVN:
* Pipe "svn cat/diff/help/log/status ..." output to $PAGER.
* Support color-ified "svn status".
* Support "svn ll" alias.
Tony Duckles [Sun, 31 Mar 2013 15:51:55 +0000 (10:51 -0500)]
.iterm2/colors: Tweaks to solarized-ansi
Tony Duckles [Sun, 31 Mar 2013 04:46:11 +0000 (23:46 -0500)]
.mintty/colors: Brighter blue in solarized-ansi
Tony Duckles [Sat, 23 Mar 2013 23:47:59 +0000 (18:47 -0500)]
.gitignore_global: Always ignore *.pyc, *.swp
* *.pyc are compiled *.py (Python) files
* *.swp are Vim swap files
Tony Duckles [Sat, 23 Mar 2013 23:47:34 +0000 (18:47 -0500)]
.bash_completion.d/fabric.bash: Bash completion for Fabric
Tony Duckles [Mon, 25 Mar 2013 04:12:38 +0000 (23:12 -0500)]
.toprc: Tweak columns and column-order
Tony Duckles [Sat, 23 Mar 2013 23:30:34 +0000 (18:30 -0500)]
.toprc: Setup useful multi-window mode
* Use multiple-window mode by default
* Create useful alternate windows:
1: CPU Usage
2: Memory Usage
3: Swap Usage
4: CPU Time
* Minor tweaks to colors
Tony Duckles [Mon, 11 Mar 2013 05:19:12 +0000 (00:19 -0500)]
bin/git-ack: ack-based replacement for "git grep ..."
Tony Duckles [Sun, 10 Mar 2013 17:51:03 +0000 (12:51 -0500)]
ack 2.00b06 (git commit
04e8986)
Switch over to using Ack v2.0.
* .ackrc: Eliminate --text option which is obsolete in ack2.
* .ackrc: Change --type-set options to new-style --type-add options.
* .bashrc: Don't need to use ack-wrapper anymore, at least for now.
Tony Duckles [Sun, 10 Mar 2013 17:49:33 +0000 (12:49 -0500)]
.gitconfig: Alias ls="ls-files"
Tony Duckles [Sun, 10 Mar 2013 16:00:25 +0000 (11:00 -0500)]
.vim/colors: Misc clean-up
* colors/neon.vim: Remove empty file. :-\
* colors/murphy.vim: Fix fileformat from DOS to Unix.
Tony Duckles [Sun, 10 Mar 2013 15:49:38 +0000 (10:49 -0500)]
bin/ack-wrapper: Handle STDIN being a pipe
* If STDIN is a pipe ("test ! -t 0") use `cat` to redirect stdin to
stdout and pipe the result to real-ack.
* Switch back to using "command ack" rather than "$(type -P ack").
`type -P` is bash-centric. Try to be /bin/sh compatible.
* Use clear "${VAR}" syntax around all variables, for consistency.
Tony Duckles [Sat, 9 Mar 2013 18:29:00 +0000 (12:29 -0600)]
.vim/bundle: Update vim bundle submodules
Tony Duckles [Sat, 9 Mar 2013 18:27:20 +0000 (12:27 -0600)]
.bashrc: Tweak __git_ps1 colors
Tony Duckles [Fri, 8 Mar 2013 23:41:43 +0000 (17:41 -0600)]
.ackrc: Always print filename, search *.txt files
Tony Duckles [Fri, 8 Mar 2013 23:36:18 +0000 (17:36 -0600)]
bin/ack-wrapper: Correctly escape user-supplied args
When using "ack needle foo*.txt", the shell will expand that
wildcard and if any of the matching files contain spaces (or other
special chars that need escaping) those won't be passed correctly
to 'ack' when using the old-style "command ack $ackrc $*" calling
method. We need to single-quote wrap any arguments to ensure we
don't need to escape-out any spaces/exclamation/question chars.
Tony Duckles [Thu, 7 Mar 2013 04:54:59 +0000 (22:54 -0600)]
.vimrc: <F7> to toggle spell-check
* Add key-mappings to have <F7> toggle spell-checking.
* Enable spell-checking by default in *.markdown (ft=octopress)
files.
* Use "en_us" dictionary for spell-checking.
Tony Duckles [Mon, 4 Mar 2013 05:38:16 +0000 (23:38 -0600)]
.iterm2/colors: Dimmer solarized-ansi foreground color
Tony Duckles [Sun, 3 Mar 2013 21:59:08 +0000 (15:59 -0600)]
bin/ack-wrapper: Use ack-wrapper
Creating a bridge script for allowing directory-level additional
.ackrc settings but without overriding the default $HOME/.ackrc
settings. This allows for directory/project-specific .ackrc files,
e.g. for project-specific --ignore-dir settings.
Tony Duckles [Sun, 3 Mar 2013 21:57:20 +0000 (15:57 -0600)]
.vimrc: Tweak StatusLineNC colors
Tweak StatusLineNC (inactive buffer when in split-mode) colors to be
higher contrast based on my new solarized-ansi color theme.
Tony Duckles [Sun, 3 Mar 2013 21:53:40 +0000 (15:53 -0600)]
.bashrc: Alias diff="git diff --no-index"
Use "git diff --no-index" as a prettier "diff" alternative (if
available) since it supports nice colored output (via .gitconfig).
Tony Duckles [Sat, 16 Feb 2013 01:33:34 +0000 (19:33 -0600)]
.bashrc: Don't check for $STY in settitle()
Update settitle() to always echo escape sequence regardless of
whether $STY is set. $STY is only set on immediate screen shells;
when ssh'd to remote hosts $STY won't be set there.
Tony Duckles [Sat, 9 Feb 2013 17:10:57 +0000 (11:10 -0600)]
.iterm2/colors: Add solarized-ansi
Tony Duckles [Sat, 9 Feb 2013 17:09:52 +0000 (11:09 -0600)]
.screenrc: Misc comment clean-up
Tony Duckles [Sun, 3 Feb 2013 18:05:19 +0000 (12:05 -0600)]
bin/colortable: Only standard colors by default, opt-in bright
Only show standard colors (normal fg, bold fg, normal bg) by
default. Use "-x"/"-a" arg to opt-into showing bright fg and bg
colors.
Tony Duckles [Sun, 3 Feb 2013 07:16:43 +0000 (01:16 -0600)]
.vimrc: Add NERDTree config
Tony Duckles [Sun, 3 Feb 2013 07:16:03 +0000 (01:16 -0600)]
.vim/bundle: Add NERDTree
Tony Duckles [Sun, 3 Feb 2013 06:35:47 +0000 (00:35 -0600)]
.mintty/colors: Rename solarized-alt -> solarized-ansi
Tony Duckles [Thu, 31 Jan 2013 18:40:37 +0000 (12:40 -0600)]
.mintty/colors: More solarized-alt color tweaks
* solarized-alt.sh: Color tweaks. Brighter background color.
Document which colors are the pristine solarized colors.
* default.sh: Sync with mintty defaults.
Tony Duckles [Wed, 30 Jan 2013 04:03:16 +0000 (22:03 -0600)]
bin/colortable: Rewrite in bash, columns for background colors
Tony Duckles [Mon, 28 Jan 2013 14:32:47 +0000 (08:32 -0600)]
.mintty/colors: Lighten solarized-alt background
Tony Duckles [Sun, 27 Jan 2013 19:02:27 +0000 (13:02 -0600)]
.vim: pathogen.vim 2.2
Tony Duckles [Sun, 27 Jan 2013 16:26:26 +0000 (10:26 -0600)]
bin/colortable: Print a color table of ANSI colors (normal+bright)
* Introduce bin/colortable which prints a grid of all the standard
ANSI colors for each possible foreground + background combo,
including handling for no-background and bright fore+back colors.
* Delete bin/colordump because it wasn't a useful 256 color utility
and I'm not using any 256 color terminals currently.
Tony Duckles [Sat, 26 Jan 2013 04:58:35 +0000 (22:58 -0600)]
.mintty: Move color-schemes to ~/.mintty/colors
Remove ~/.term_colorpalette and introduce ~/.mintty/colors/*.sh
instead. This allows tracking multiple different color schemes.
Tony Duckles [Fri, 25 Jan 2013 05:04:56 +0000 (23:04 -0600)]
.bashrc: Add "settitle" function for setting screen title
Use the "Set Window Title" escape sequences which GNU screen
respects to set the current window title. This could be handy to
write scripts to automagically change the window-title, e.g. when
ssh'ing to a new machine.
Tony Duckles [Fri, 25 Jan 2013 05:04:03 +0000 (23:04 -0600)]
.term_colorpalette: Slightly lighter brblack
Tony Duckles [Fri, 25 Jan 2013 05:02:22 +0000 (23:02 -0600)]
bin/git-subup: Better compatibility with older Git versions
Tony Duckles [Fri, 25 Jan 2013 05:00:35 +0000 (23:00 -0600)]
bin/ipaddr: Support AIX
Tony Duckles [Fri, 25 Jan 2013 04:55:43 +0000 (22:55 -0600)]
.screenrc: $TERM="screen"
Go back to using TERM=screen for screen sessions. Never ended-up
needing 256-color support, and having TERM=screen allows for writing
scripts that have handling specific to screen-sessions.
Tony Duckles [Thu, 24 Jan 2013 01:50:18 +0000 (19:50 -0600)]
.vim: Update bundle submodules
Tony Duckles [Thu, 24 Jan 2013 01:47:44 +0000 (19:47 -0600)]
.gitconfig: Update git-subup aliases
* 'git sub' --> 'git-subup'
* 'git sup' --> 'git-subup pull'
Tony Duckles [Thu, 24 Jan 2013 01:17:09 +0000 (19:17 -0600)]
bin/git-subup: Init child submodules, optionally pull
Refactor the 'git-subup' (submodule update) script to only
conditionally pull changes from each submodule's origin remote.
"git subup" will just ensure all submodules are checked-out.
"git subup pull" will additionally do a pull on each submodule to
look for updates.
* Use '--recursive' flag for update/sync/foreach subcommands to
update any child submodules of first-level submodules.
* Conditionalize 'git pull' handling only if $1 == "pull".
* Don't assume that "remotes/origin/HEAD" is a valid ref; not all
repo's will have an "origin/HEAD" ref. Instead, just force-update
local "master" branch based on the current checked-out rev, so
that when 'git submodule update --checkout' creates a detached
HEAD we'll update our local 'master' branch to jive with HEAD so
that any later 'git pull' will show all new revisions compared to
the previous HEAD.
Tony Duckles [Mon, 21 Jan 2013 02:23:16 +0000 (20:23 -0600)]
.term_colorpalette: Tweak 'blue' and 'white' colors
* Brighten 'blue' so that it's more readable against dark
backgrounds.
* Darken 'white' so that it's more gray than white:
Black = Black , BrBlack = DarkGrey, White = Gray, BrWhite=White
* Brighten 'black' a wee-wee-bit.
Tony Duckles [Mon, 21 Jan 2013 02:20:00 +0000 (20:20 -0600)]
.screenrc: Lower-contrast hardstatus colors and show sessionname
Tony Duckles [Fri, 11 Jan 2013 03:36:52 +0000 (21:36 -0600)]
bin/git-subup: Avoid detached HEAD
Tony Duckles [Fri, 11 Jan 2013 03:36:06 +0000 (21:36 -0600)]
.vim/bundle: Add scriptease, update modules
Tony Duckles [Fri, 11 Jan 2013 03:19:09 +0000 (21:19 -0600)]
.vimrc: +sidescrolloff=10, smarttab, +nnoremap Y
Inspired by https://github.com/tpope/vim-sensible
Tony Duckles [Mon, 7 Jan 2013 00:31:42 +0000 (18:31 -0600)]
.vimrc: statusline tweaks
Tony Duckles [Sun, 6 Jan 2013 06:59:51 +0000 (00:59 -0600)]
.vimrc: Color (highlight) tweaks
* Set Visual (visual-block) color to be white-on-green to match ack
and grep color-scheme. Nice and low-contrast-y.
* Tweak guifg/guibg colors for MacVim.
Tony Duckles [Sat, 5 Jan 2013 21:36:09 +0000 (15:36 -0600)]
.vimrc: Lower-contrast "highlight StatusLine"
Tony Duckles [Sat, 5 Jan 2013 19:16:04 +0000 (13:16 -0600)]
bin/git-subup: Always checkout origin/HEAD
Some submodule repo's have an origin/HEAD of something other than
"master". Force a checkout of origin/HEAD -> master so that the
later pull will track updates from the repo's default HEAD.
Tony Duckles [Sat, 5 Jan 2013 18:30:24 +0000 (12:30 -0600)]
.vimrc: statusline tweaks
Tony Duckles [Sat, 5 Jan 2013 02:51:54 +0000 (20:51 -0600)]
.vimrc: Custom statusline, lots of new helper mappings
* Custom statusline which includes &fenc, &ff, etc.
* A bunch of neat misc helper leader-based mappings, inspired by
https://github.com/carlhuda/janus.
* Don't jump to last position in gitcommit file.
* Use real tabs (not spaces) for Makefiles
Tony Duckles [Fri, 4 Jan 2013 07:28:59 +0000 (01:28 -0600)]
.inputrc: Add some helper reminds in comments at top
Add some tips about how to use the 'bind' built-in to view the
current readline config and where to look for additional detail
documentation on all these readline bindings.
Tony Duckles [Fri, 4 Jan 2013 06:58:12 +0000 (00:58 -0600)]
bin/git-cv: Be compatible with GNU "cut"
Tony Duckles [Thu, 3 Jan 2013 03:48:04 +0000 (21:48 -0600)]
bin/ipaddr: Size column based on max if-name length
Tony Duckles [Thu, 3 Jan 2013 02:16:35 +0000 (20:16 -0600)]
.bashrc: Add brew coreutils to $PATH
Need to have GNU-style coreutils installed to keep me sane. By
default all the coreutils will be installed with g* prefix. Need to
add "/usr/local/opt/coreutils/libexec/gnubin" at the start of $PATH
so that the coreutils versions win.
Also, remove Fink handling. Haven't used Fink in years now...
Tony Duckles [Tue, 1 Jan 2013 18:27:52 +0000 (12:27 -0600)]
.ackrc: Include *.scss for type=css
Tony Duckles [Sat, 29 Dec 2012 20:52:41 +0000 (14:52 -0600)]
bin/ipaddr: Fix padding for UNAME=Linux
Tony Duckles [Sat, 29 Dec 2012 20:50:11 +0000 (14:50 -0600)]
.bashrc: Use GNU awk on Solaris
Tony Duckles [Sat, 29 Dec 2012 20:47:05 +0000 (14:47 -0600)]
.bashrc: Add ~/.rvm/bin to $PATH for RVM
Tony Duckles [Sat, 29 Dec 2012 20:42:39 +0000 (14:42 -0600)]
pathogen.vim: Update
c9fb89d..
1b46b4f (https://github.com/tpope/vim-pathogen)
Tony Duckles [Sat, 29 Dec 2012 20:40:50 +0000 (14:40 -0600)]
bin/ipaddr: Helper utility for showing interface IP addr(s)
Tony Duckles [Thu, 27 Dec 2012 04:00:40 +0000 (22:00 -0600)]
.gitconfig: No limit on "git ll"
"git ll" alias previously only showed up to 16 log entries. "git ll"
was an unlimited version. Eliminate "git lll" entirely and make "git
ll" unlimited instead.
Tony Duckles [Wed, 26 Dec 2012 05:40:49 +0000 (23:40 -0600)]
bin/hub: hub version 1.10.3
Tony Duckles [Wed, 26 Dec 2012 05:40:26 +0000 (23:40 -0600)]
bin: Remove unused commands
Tony Duckles [Sat, 22 Dec 2012 21:06:09 +0000 (15:06 -0600)]
bin/git-up: Misc code clean-up
Tony Duckles [Sat, 22 Dec 2012 21:04:00 +0000 (15:04 -0600)]
.gitconfig: Use 'status -sb', tweak color.branch.remote
* Use "status -sb" for "sb" alias. Shorter and sweeter.
* Use non-bold green for color.branch.remote. Lower contrast.
Tony Duckles [Sat, 22 Dec 2012 18:52:06 +0000 (12:52 -0600)]
.bashrc: Use __git_ps1() in $PS1
Use __git_ps1() to display current branch info in bash prompt (PS1).
* Never show this for the $HOME (dotfiles) repo since it would get
obnoxious.
* Check a (custom) `git config` variable to allow repo-specific
exclusion of __git_ps1() handling.
Tony Duckles [Sat, 22 Dec 2012 08:09:34 +0000 (02:09 -0600)]
bin/git-subup: Use --prune for 'git pull'
Tony Duckles [Sat, 22 Dec 2012 04:30:45 +0000 (22:30 -0600)]
.gitconfig: Clean-up aliases
Tony Duckles [Sat, 22 Dec 2012 03:57:05 +0000 (21:57 -0600)]
bin/git-up: Rewrite to support 'git fetch --all --prune'
* Use "[git fetch] --all --prune" (if no given <repo>+<head>) to
fetch changes from all remotes and prune nonexistent branches.
* Use "[git merge] --ff-only" to ensure we only do fast-forward
merge from `git pull`.
* Grab HEAD before and after pull to see if changed. Previous code
relied on HEAD@{1} (i.e. git reflog) which is a false-positive if
HEAD didn't actually change during pull.
Tony Duckles [Thu, 20 Dec 2012 05:51:40 +0000 (23:51 -0600)]
.bashrc: put ~/sbin in $PATH if it exists
Tony Duckles [Thu, 20 Dec 2012 05:21:31 +0000 (23:21 -0600)]
.vim/bundle: Update vim bundle submodules
Tony Duckles [Thu, 20 Dec 2012 05:14:56 +0000 (23:14 -0600)]
.gitconfig: push.default = matching
The default value of push.default is changing in Git 2.0. Set an
explicit value to squelch warning message when doing "git push" on
Git 1.8 and above.
Tony Duckles [Fri, 14 Dec 2012 02:16:40 +0000 (20:16 -0600)]
.ackrc: Adding, define custom ack colors
Tony Duckles [Fri, 14 Dec 2012 02:15:16 +0000 (20:15 -0600)]
.bashrc: Use grep --color=always and setup GREP_COLORS
Always use colorized grep and setup custom grep colors.
Tony Duckles [Tue, 18 Sep 2012 22:58:15 +0000 (17:58 -0500)]
.screenrc: altscreen=on (alternate buffer)
xterm-style emulators support the notion of an alternate buffer with
a separate scroll-back history than the "normal" buffer. By default
GNU screen has the alternate buffer disabled, but we want it enabled
so that alternate buffer switching works as expected (when using an
xterm-supporting terminal emulator) for applications that try to use
that it, e.g. vim, etc.
Tony Duckles [Sat, 4 Aug 2012 14:35:19 +0000 (09:35 -0500)]
.bashrc: export LESS="-FiRX"
For non-screen'd shells, found that output that was less than a
screenful was causing 'less' to: switch to temporary buffer, show
output, terminate since it was less than a screenful (-F), and then
return to original screen. Ugh. Passing -X (no termcap init) seems
to fix this.
Tony Duckles [Fri, 3 Aug 2012 04:27:20 +0000 (23:27 -0500)]
.vim: Update bundle submodules
Tony Duckles [Fri, 3 Aug 2012 04:19:04 +0000 (23:19 -0500)]
bin/git-subup: Force "git checkout master" foreach submodule
Running "git submodule update --init" rewinds HEAD in each of the
submodule directories to point to the revision set in the parent
working copy. This could result in a broken HEAD pointer. To avoid
weird submodule state, always do a forced "git checkout master" for
each submodule after running the init/update and sync.
Tony Duckles [Fri, 3 Aug 2012 04:18:27 +0000 (23:18 -0500)]
.dircolors: *.mp4
Tony Duckles [Fri, 3 Aug 2012 04:17:19 +0000 (23:17 -0500)]
.bashrc: export LESS="-FiR"
Tony Duckles [Thu, 26 Jul 2012 01:58:16 +0000 (20:58 -0500)]
.bashrc: Remove extraneous args from PAGER
Tony Duckles [Tue, 17 Jul 2012 01:36:32 +0000 (20:36 -0500)]
.vimrc: Easier buffer navigation
Tony Duckles [Sun, 10 Jun 2012 05:44:25 +0000 (00:44 -0500)]
.vimrc: Add more Command-T key-mappings
Tony Duckles [Sat, 9 Jun 2012 22:59:02 +0000 (17:59 -0500)]
.gitconfig: Add root,graph,di; update ll,lll
Tony Duckles [Sat, 9 Jun 2012 21:53:31 +0000 (16:53 -0500)]
.vim: Remove obsolete syntax/javascript file
Tony Duckles [Sat, 9 Jun 2012 21:51:21 +0000 (16:51 -0500)]
.vim: Move matchit to bundle
Tony Duckles [Sat, 9 Jun 2012 21:39:36 +0000 (16:39 -0500)]
.vim: Move mumps to bundle
Tony Duckles [Sat, 9 Jun 2012 21:32:28 +0000 (16:32 -0500)]
.vimrc: Add wildignore exclusions
Tony Duckles [Sat, 9 Jun 2012 21:31:48 +0000 (16:31 -0500)]
.vimrc: Add nmap's to quickly edit/reload vimrc
Tony Duckles [Sat, 9 Jun 2012 21:30:36 +0000 (16:30 -0500)]
.vim: Add bundle: surround
Tony Duckles [Sat, 9 Jun 2012 21:14:47 +0000 (16:14 -0500)]
.vim: Remove bundle: nerdtree
No need for this. Command-T works better/faster.
Tony Duckles [Sat, 9 Jun 2012 16:30:55 +0000 (11:30 -0500)]
.vimrc: Cleanup pathogen init and misc cleanup
Tony Duckles [Sat, 9 Jun 2012 16:29:58 +0000 (11:29 -0500)]
.vim: Add bundles: command-t, nerdtree, ack
Tony Duckles [Sat, 9 Jun 2012 13:43:54 +0000 (08:43 -0500)]
Add git-subup (submodule init and updating)