Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moar

  • Loading branch information...
commit 042c40088edf5f4612963614e959c9abad4f3cf8 1 parent f60a4a0
@sjl authored
View
2  dotjs/github.com.js
@@ -26,7 +26,7 @@ $(function() {
return;
}
t = $(this).find('a.message').text().substring(0, 65);
- if (t === 'Updated transiflex translations -- through update_translations.sh') {
+ if (t === 'Updated transifex translations -- through update_translations.sh') {
$(this).hide();
return;
}
View
29 fish/config.fish
@@ -10,12 +10,34 @@ alias paththis 'set PATH (pwd) $PATH'
alias clc './get-last-commit-url.py | pbcopy'
alias ef 'vim ~/.config/fish/config.fish'
+alias ev 'vim ~/.vimrc'
+alias ed 'vim ~/.vim/custom-dictionary.utf-8.add'
+alias eo 'vim ~/Dropbox/Org'
+alias eh 'vim ~/.hgrc'
+alias ep 'vim ~/.pentadactylrc'
+alias em 'vim ~/.mutt/muttrc'
+alias ez 'vim ~/lib/dotfiles/zsh'
+alias ek 'vim ~/lib/dotfiles/keymando/keymandorc.rb'
+alias et 'vim ~/.tmux.conf'
+
+alias spotlight-off 'sudo mdutil -a -i off ; and sudo mv /System/Library/CoreServices/Search.bundle/ /System/Library/CoreServices/SearchOff.bundle/ ; and killall SystemUIServer'
+alias spotlight-on 'sudo mdutil -a -i on ; and sudo mv /System/Library/CoreServices/SearchOff.bundle/ /System/Library/CoreServices/Search.bundle/ ; and killall SystemUIServer'
+alias spotlight-wat 'sudo fs_usage -w -f filesys mdworker | grep "open"'
+
+set MUTT_BIN (which mutt)
+alias mutt "cd ~/Desktop; $MUTT_BIN"
alias h 'hg'
alias g 'git'
+alias pbc 'pbcopy'
+alias pbp 'pbpaste'
+
alias weechat 'weechat-curses'
+alias collapse="sed -e 's/ */ /g'"
+alias cuts "cut -d' '"
+
alias pbc 'pbcopy'
alias pbp 'pbpaste'
@@ -31,6 +53,10 @@ alias oo 'open .'
alias wo 'workon'
alias deact 'deactivate'
+function psg -d "Grep for a running process, returning its PID and full string"
+ ps auxww | grep --color=always $argv | grep -v grep | collapse | cuts -f 2,11-
+end
+
# }}}
# Environment variables {{{
@@ -183,9 +209,6 @@ alias ll 'll1'
# }}}
# Misc {{{
-set MUTT_BIN (which mutt)
-alias mutt "cd ~/Desktop; $MUTT_BIN"
-
# }}}
# Local Settings {{{
View
4 keymando/keymandorc.rb
@@ -8,13 +8,13 @@
# map "<Ctrl-Shift-R>", lambda { reload() }
# Application Switching -------------------------------------------------------
-map "<Ctrl-Shift-J>", lambda { activate('Firefox') }
+map "<Ctrl-Shift-K>", lambda { activate('Firefox') }
map "<Ctrl-Shift-P>", lambda { activate('Pixelmator') }
map "<Ctrl-Shift-H>", lambda { activate('Pixen') }
map "<Ctrl-Shift-O>", lambda { activate('Rdio') }
map "<Ctrl-Shift-Y>", lambda { activate('Twitter') }
-map "<Ctrl-Shift-K>" do
+map "<Ctrl-Shift-J>" do
activate('iTerm')
send('<Cmd-Option-2>')
end
View
BIN  moom/com.manytricks.Moom.plist
Binary file not shown
View
5 vim/vimrc
@@ -377,11 +377,12 @@ inoremap <c-f> <c-x><c-f>
inoremap <c-]> <c-x><c-]>
" }}}
+
+" }}}
" Quick editing {{{
nnoremap <leader>ev :vsplit $MYVIMRC<cr>
nnoremap <leader>ef :vsplit ~/.config/fish/config.fish<cr>
-nnoremap <leader>es :vsplit ~/.vim/snippets/<cr>
nnoremap <leader>ed :vsplit ~/.vim/custom-dictionary.utf-8.add<cr>
nnoremap <leader>eo :vsplit ~/Dropbox/Org<cr>4j
nnoremap <leader>eh :vsplit ~/.hgrc<cr>
@@ -392,8 +393,6 @@ nnoremap <leader>ek :vsplit ~/lib/dotfiles/keymando/keymandorc.rb<cr>
nnoremap <leader>et :vsplit ~/.tmux.conf<cr>
" }}}
-
-" }}}
" Searching and movement -------------------------------------------------- {{{
" Use sane regexes.
View
1  zshrc
@@ -8,7 +8,6 @@ plugins=(command-coloring pip fabric lein redis-cli vagrant)
source $ZSH/oh-my-zsh.sh
-
# Custom options -------------------------------------------------------------
unsetopt promptcr
Please sign in to comment.
Something went wrong with that request. Please try again.