b211864a20ce

fuck computers, i'm moving to iceland and becoming a farmer
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 13 Jun 2013 11:51:40 -0400
parents c454b5b4804c
children b1141ff6520a
branches/tags (none)
files bash_profile fish/config.fish slate vim/vimrc

Changes

--- a/bash_profile	Thu Jun 13 10:45:08 2013 -0400
+++ b/bash_profile	Thu Jun 13 11:51:40 2013 -0400
@@ -9,9 +9,9 @@
 AG_BIN="`which ag`"
 function ag() {
     if test -f '.agignore' && grep -q 'pragma: skipvcs' '.agignore'; then
-        $AG_BIN --search-files -U $*
+        $AG_BIN --search-files -U "$@"
     else
-        $AG_BIN --search-files $*
+        $AG_BIN --search-files "$@"
     fi
 }
 
--- a/fish/config.fish	Thu Jun 13 10:45:08 2013 -0400
+++ b/fish/config.fish	Thu Jun 13 11:51:40 2013 -0400
@@ -124,13 +124,16 @@
 # }}}
 # Bind Keys {{{
 
-function fish_user_keybindings
+# Backwards compatibility?  Screw that, it's more important that our function
+# names have underscores so they look pretty.
+function jesus_fucking_christ_bind_the_fucking_keys_fish
     bind \cn accept-autosuggestion
-
-    # Ignore iterm2 escape sequences.  Vim will handle them if needed.
-    # bind \e\[I true
-    # bind \e\[O true
-    # ]]
+end
+function fish_user_keybindings
+    jesus_fucking_christ_bind_the_fucking_keys_fish
+end
+function fish_user_key_bindings
+    jesus_fucking_christ_bind_the_fucking_keys_fish
 end
 
 # }}}
--- a/slate	Thu Jun 13 10:45:08 2013 -0400
+++ b/slate	Thu Jun 13 11:51:40 2013 -0400
@@ -1,21 +1,18 @@
-config windowHintsShowIcons true
-config windowHintsIgnoreHiddenWindows false
-config windowHintsSpread true
 config defaultToCurrentScreen true
 
 alias hyper ctrl;shift;alt;cmd
 
-alias full      move screenOriginX;screenOriginY screenSizeX;screenSizeY
-alias lefthalf  move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
+alias full      move screenOriginX;screenOriginY               screenSizeX;screenSizeY
+alias lefthalf  move screenOriginX;screenOriginY               screenSizeX/2;screenSizeY
 alias righthalf move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
 
-alias thirdleft  move screenOriginX;screenOriginY screenSizeX/3;screenSizeY
-alias thirdmid   move screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
-alias thirdright move 2*screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
+alias thirdleft  move screenOriginX;screenOriginY                 screenSizeX/3;screenSizeY
+alias thirdmid   move screenOriginX+screenSizeX/3;screenOriginY   screenSizeX/3;screenSizeY
+alias thirdright move screenOriginX+2*screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
 
-alias bigleft  move screenOriginX;screenOriginY 2*screenSizeX/3;screenSizeY
-alias bigmid   move screenSizeX/4;screenOriginY screenSizeX/2;screenSizeY
-alias bigright move screenSizeX/3;screenOriginY 2*screenSizeX/3;screenSizeY
+alias bigleft  move screenOriginX;screenOriginY               2*screenSizeX/3;screenSizeY
+alias bigmid   move screenOriginX+screenSizeX/6;screenOriginY 2*screenSizeX/3;screenSizeY
+alias bigright move screenOriginX+screenSizeX/3;screenOriginY 2*screenSizeX/3;screenSizeY
 
 bind pad1:${hyper} ${bigleft}
 bind pad2:${hyper} ${bigmid}
@@ -28,5 +25,4 @@
 bind pad9:${hyper} ${thirdright}
 
 bind ;:${hyper}      throw next
-bind space:${hyper}  hint ASDFJKLGHNMVC
 bind delete:${hyper} relaunch
--- a/vim/vimrc	Thu Jun 13 10:45:08 2013 -0400
+++ b/vim/vimrc	Thu Jun 13 11:51:40 2013 -0400
@@ -7,6 +7,26 @@
 
 " Preamble ---------------------------------------------------------------- {{{
 
+
+" Dear /bin/bash: fuck you and your bullshit, arcane command-line behaviour.
+"
+" Basically, I want to set this to a non-login, non-interactive bash shell.
+" Using a login/interactive bash as Vim's 'shell' breaks subtle things, like
+" ack.vim's command-line argument parsing.  However, I *do* want bash to load
+" ~/.bash_profile so my aliases get loaded and such.
+"
+" You might think you could do this with the --init-file command line option,
+" which is used to specify an init file.  Or with --rcfile.  But no, those only
+" get loaded for interactive/login shells.
+"
+" So how do we tell bash to source a goddamned file when it loads?  With an
+" *environment variable*.  Jesus, you have multiple command line options for
+" specifying files to load and none of them work?
+"
+" Computers are bullshit.
+let $BASH_ENV = "~/.bash_profile"
+set shell=/bin/bash
+
 filetype off
 call pathogen#infect()
 filetype plugin indent on
@@ -48,25 +68,6 @@
 set spellfile=~/.vim/custom-dictionary.utf-8.add
 set colorcolumn=+1
 
-" Dear /bin/bash: fuck you and your bullshit, arcane command-line behaviour.
-"
-" Basically, I want to set this to a non-login, non-interactive bash shell.
-" Using a login/interactive bash as Vim's 'shell' breaks subtle things, like
-" ack.vim's command-line argument parsing.  However, I *do* want bash to load
-" ~/.bash_profile so my aliases get loaded and such.
-"
-" You might think you could do this with the --init-file command line option,
-" which is used to specify an init file.  Or with --rcfile.  But no, those only
-" get loaded for interactive/login shells.
-"
-" So how do we tell bash to source a goddamned file when it loads?  With an
-" *environment variable*.  Jesus, you have multiple command line options for
-" specifying files to load and none of them work?
-"
-" Computers are bullshit.
-let $BASH_ENV = "~/.bash_profile"
-set shell=/bin/bash
-
 " Don't try to highlight lines longer than 800 characters.
 set synmaxcol=800