Tony Duckles [Sun, 25 Aug 2013 21:05:37 +0000 (16:05 -0500)]
.vimrc: Add list-whitespace-chars toggle
Add <leader>ws for toggling list-mode -- showing unprintable chars
like trailing white-space and hard-tabs.
Other changes:
* Use ":set {{flag}}!" syntax for toggling boolean variables rather
than ":set inv{{flag}}" syntax.
* Simplify strip-trailing-whitespace helper.
Tony Duckles [Wed, 17 Apr 2013 01:36:28 +0000 (20:36 -0500)]
.vim: Use Ctrl-P instead of Command-T
Ctrl-P is a full path fuzzy file, buffer, mru, tag finder for Vim.
It is written in pure Vimscript, as opposed to Command-T which needs
Vim to be compiled with Ruby support.
Tony Duckles [Tue, 9 Apr 2013 22:19:07 +0000 (17:19 -0500)]
bin/svn-wrapper: Misc fixes
* Update the revision-line reg-ex to support the "(no author)" case.
* Update the AWK usage to set 'FS' at run-time rather than using
"awk -F...". It's more encapsulated this way and more easily
extensible down the road.
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 [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
* .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 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.
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 [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 [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 [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.