Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moar.

  • Loading branch information...
commit 232e4e220cd08271e538267e4197785f991d469d 1 parent b98ce4a
@sjl authored
View
1  fish/virtualenv.fish
@@ -23,6 +23,7 @@ function workon -d "Activate virtual environment in $WORKON_HOME"
set -e PYTHONHOME
end
+ cd -
echo "activated $tgt"
else
echo "$tgt not found"
View
4 gitconfig
@@ -31,8 +31,8 @@
ci = commit
cm = commit -m
- d = diff
- di = diff --cached
+ d = !git diff | vim -R -
+ di = !git diff --cached | vim -R -
co = checkout
id = rev-parse
View
6 keymando/keymandorc.rb
@@ -21,14 +21,12 @@
map "<Ctrl-Shift-M>" do
activate('iTerm')
send('<Cmd-Option-1>')
- send('<Ctrl-f>2')
+ send('<Ctrl-f>')
send('2')
end
map "<Ctrl-Shift-I>" do
activate('iTerm')
- send('<Cmd-Option-1>')
- send('<Ctrl-f>')
- send('1')
+ send('<Cmd-Option-1><Ctrl-f>1')
end
# Refresh ---------------------------------------------------------------------
View
11 keyremap4macbook/private.xml
@@ -2,6 +2,15 @@
<root>
<list>
<item>
+ <name>sjl Simuletion (f+j simultaneously to delete, f+k to option-delete)</name>
+ <identifier>private.simuletion</identifier>
+ <autogen>--SimultaneousKeyPresses-- KeyCode::F, KeyCode::J, KeyCode::DELETE</autogen>
+ <autogen>--SimultaneousKeyPresses-- KeyCode::F, KeyCode::K, KeyCode::DELETE, ModifierFlag::OPTION_L</autogen>
+ </item>
+ </list>
+
+ <list>
+ <item>
<name>sjl Swap parens and brackets</name>
<identifier>private.swap_parens_and_brackets</identifier>
<autogen>--KeyToKey-- KeyCode::BRACKET_LEFT, ModifierFlag::NONE, KeyCode::KEY_9, ModifierFlag::SHIFT_R</autogen>
@@ -40,7 +49,7 @@
<list>
<item>
- <name>sjl Use the correct goddamed shift keys.</name>
+ <name>sjl Use the correct goddamned shift keys.</name>
<identifier>private.fucking_shift_keys_how_do_they_work</identifier>
<autogen>--KeyToKey-- KeyCode::Q, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
View
BIN  moom/com.manytricks.Moom.plist
Binary file not shown
View
4 mutt/muttrc
@@ -185,8 +185,8 @@ macro index <esc>f ":set date_format = \"%m/%d\"<enter>" "short date
macro index <esc>F ":set date_format = \"%m/%d at %I:%M %P\"<enter>" "long date format"
# Sync email
-macro index O "<shell-escape>offlineimap -q<enter>" "run offlineimap to sync mail in the foreground"
-macro index o "<shell-escape>offlineimap -q >/dev/null 2>&1 &<enter>" "run offlineimap to sync mail in the background"
+macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
+macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"
# Saner copy/move dialogs
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
View
2  vim/custom-dictionary.utf-8.add
@@ -80,3 +80,5 @@ dotfiles
symlink
Backblaze
README
+Coursera
+OAuth
View
4 vim/vimrc
@@ -244,6 +244,10 @@ vnoremap <c-z> <esc>zv`<ztgv
" Unfuck my screen
nnoremap <leader>u :syntax sync fromstart<cr>:redraw!<cr>
+" Tabs
+nnoremap <leader>( :tabprev<cr>
+nnoremap <leader>) :tabnext<cr>
+
" System clipboard interaction. Mostly from:
" https://github.com/henrik/dotfiles/blob/master/vim/config/mappings.vim
noremap <leader>y "*y
Please sign in to comment.
Something went wrong with that request. Please try again.