1. Steve Losh
  2. dotfiles

Commits

Steve Losh  committed b211864

fuck computers, i'm moving to iceland and becoming a farmer

  • Participants
  • Parent commits c454b5b
  • Branches default

Comments (0)

Files changed (4)

File bash_profile

View file
 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
 }
 

File fish/config.fish

View file
 # }}}
 # Bind Keys {{{
 
+# 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
+end
 function fish_user_keybindings
-    bind \cn accept-autosuggestion
-
-    # Ignore iterm2 escape sequences.  Vim will handle them if needed.
-    # bind \e\[I true
-    # bind \e\[O true
-    # ]]
+    jesus_fucking_christ_bind_the_fucking_keys_fish
+end
+function fish_user_key_bindings
+    jesus_fucking_christ_bind_the_fucking_keys_fish
 end
 
 # }}}

File slate

View file
-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}
 bind pad9:${hyper} ${thirdright}
 
 bind ;:${hyper}      throw next
-bind space:${hyper}  hint ASDFJKLGHNMVC
 bind delete:${hyper} relaunch

File vim/vimrc

View file
 
 " 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
 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