Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moar

--HG--
rename : bin/lein2 => bin/lein
  • Loading branch information...
commit 9ddd4563a0a7addf2be052badb88b0710a82dc3d 1 parent 8ef505e
@sjl authored
View
2  .hgsubstate
@@ -23,7 +23,7 @@ f45b4529dd282393f2e08306ae161d77de0051a0 vim/bundle/orgmode
7f53b5c3919bde9a4259d0c725d453ef2337a4ed vim/bundle/powerline
9f976bb5754fd1252198fd1d8da4508a1a612ef6 vim/bundle/python-mode
f060c485ee2631430ba19634e4a1c4d593065211 vim/bundle/salt
-5771a3a9860cbaaaa2810b78334b63f8d28f2d6e vim/bundle/slimv
+94c0fd36649d8c3db3e3cd53fad37a3c5ce3f7c5 vim/bundle/slimv
78ab4b3df24fa2753d3dfc1be75ed5a3df1565b8 vim/bundle/smartinput
c6197a10ace82e0fe0c08e5cf5c017b7069a978e vim/bundle/sparkup
3a2ab096c039516a8f43e6acd0264d8a81cd0544 vim/bundle/splice
View
0  bin/lein2 → bin/lein
File renamed without changes
View
8 dotjs/500px.com.js
@@ -0,0 +1,8 @@
+$(function() {
+ var i = $("img#mainphoto.clickable").attr("src");
+
+ $('body').append("<img width=40 height=40 id='fucking-let-me-drag-you-assholes' src='" + i + "'>");
+
+ $('#fucking-let-me-drag-you-assholes').css('position', 'absolute').css('top', '40px').css('left', '40px');
+
+});
View
19 fish/config.fish
@@ -1,7 +1,7 @@
# Useful aliases {{{
alias serve_this 'python -m SimpleHTTPServer'
-alias fab 'fab -i ~/.ssh/stevelosh'
+# alias fab 'fab -i ~/.ssh/stevelosh'
alias oldgcc 'set -g CC /usr/bin/gcc-4.0'
alias tm 'tmux -u2'
alias c 'clear'
@@ -9,6 +9,8 @@ alias hl 'less -R'
alias paththis 'set PATH (pwd) $PATH'
alias clc './get-last-commit-url.py | pbcopy'
+alias swank 'dtach -A /tmp/dtach-swank.sock -r winch lein swank'
+
alias ef 'vim ~/.config/fish/config.fish'
alias ev 'vim ~/.vimrc'
alias ed 'vim ~/.vim/custom-dictionary.utf-8.add'
@@ -58,6 +60,13 @@ function psg -d "Grep for a running process, returning its PID and full string"
end
# }}}
+# Bind Keys {{{
+
+function fish_user_keybindings
+ bind \cn accept-autosuggestion
+end
+
+# }}}
# Environment variables {{{
set PATH "/usr/local/bin" $PATH
@@ -200,10 +209,16 @@ alias md 'mkdir -p'
alias l1 'tree --dirsfirst -ChFL 1'
alias l2 'tree --dirsfirst -ChFL 2'
alias l3 'tree --dirsfirst -ChFL 3'
+alias l4 'tree --dirsfirst -ChFL 4'
+alias l5 'tree --dirsfirst -ChFL 5'
+alias l6 'tree --dirsfirst -ChFL 6'
alias ll1 'tree --dirsfirst -ChFupDaL 1'
alias ll2 'tree --dirsfirst -ChFupDaL 2'
alias ll3 'tree --dirsfirst -ChFupDaL 3'
+alias ll4 'tree --dirsfirst -ChFupDaL 4'
+alias ll5 'tree --dirsfirst -ChFupDaL 5'
+alias ll6 'tree --dirsfirst -ChFupDaL 6'
alias l 'l1'
alias ll 'll1'
@@ -218,7 +233,7 @@ if test -s $HOME/.config/fish/local.fish
source $HOME/.config/fish/local.fish
end
-#normal }}}
+# }}}
if status --is-interactive
command fortune -s | cowsay -n | lolcat
View
BIN  moom/com.manytricks.Moom.plist
Binary file not shown
View
5 vim/custom-dictionary.utf-8.add
@@ -51,3 +51,8 @@ viewport
keypresses
screenshots
Screenshot
+API
+prerelease
+refactored
+refactorings
+UUID
View
32 vim/vimrc
@@ -93,12 +93,21 @@ augroup END
" }}}
" Trailing whitespace {{{
+" Save {{{
+
+" augroup its2012justfuckingsavealready
+" au!
+" au InsertLeave * :silent! wa
+" au CursorHold * :silent! wa
+" au CursorHoldI * :silent! wa
+" augroup END
+
+" }}}
" Only shown when not in insert mode so I don't go insane.
augroup trailing
au!
au InsertEnter * :set listchars-=trail:
- au InsertLeave * :set listchars+=trail:
augroup END
" }}}
@@ -387,6 +396,7 @@ inoremap <c-]> <c-x><c-]>
" Quick editing ----------------------------------------------------------- {{{
nnoremap <leader>ev :vsplit $MYVIMRC<cr>
+nnoremap <leader>eV :vsplit scp://vagrant//<cr>
nnoremap <leader>ef :vsplit ~/.config/fish/config.fish<cr>
nnoremap <leader>ed :vsplit ~/.vim/custom-dictionary.utf-8.add<cr>
nnoremap <leader>eo :vsplit ~/Dropbox/Org<cr>4j
@@ -562,6 +572,19 @@ augroup END
" }}}
" Clojure {{{
+" function! SlimvToggleRepl()
+" if bufname('%') ==# 'SLIMV.REPL'
+" let origin = b:pop_back_to
+" q
+" execute "" . origin . "wincmd w"
+" else
+" let origin = winnr()
+" vertical botright split
+" e SLIMV.REPL
+" let b:pop_back_to = origin
+" endif
+" endfunction
+
let g:slimv_leader = '\'
let g:slimv_keybindings = 2
@@ -585,6 +608,9 @@ augroup ft_clojure
" And the inspect mapping.
au FileType clojure nmap <buffer> \i \di
+ " And REPL-toggling mapping.
+ " au FileType clojure nnoremap <buffer> \rr :call SlimvToggleRepl()<cr>
+
" Indent top-level form.
au FileType clojure nmap <buffer> <localleader>= v((((((((((((=%
augroup END
@@ -993,7 +1019,7 @@ let ctrlp_filter_greps = "".
\ "jar|class|swp|swo|log|so|o|pyc|jpe?g|png|gif|mo|po" .
\ ")$' | " .
\ "egrep -v '^(\\./)?(" .
- \ "deploy/|lib/|classes/|libs/|deploy/vendor/|.git/|.hg/|.svn/|.*migrations/" .
+ \ "deploy/|lib/|classes/|libs/|deploy/vendor/|.git/|.hg/|.svn/|.*migrations/|docs/build/" .
\ ")'"
let my_ctrlp_user_command = "" .
@@ -1187,7 +1213,7 @@ nnoremap <silent> <leader><tab> :ScratchToggle<cr>
let g:slimv_repl_name = 'SLIMV.REPL'
let g:slimv_repl_split = 4
-let g:slimv_repl_syntax = 0
+" let g:slimv_repl_syntax = 0
let g:slimv_repl_wrap = 0
" Use a swank command that works, and doesn't require new app windows.
Please sign in to comment.
Something went wrong with that request. Please try again.