Skip to content

Commit

Permalink
Moar
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Sep 10, 2012
1 parent 908d029 commit c3fecd6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions gitconfig
Expand Up @@ -43,6 +43,10 @@
unstage = reset HEAD unstage = reset HEAD
uns = reset HEAD uns = reset HEAD


delete-local-branch = branch -D
delete-remote-branch = push origin --delete
delete-local-reference-to-remote-branch = branch -rd

currentbranch = !git branch --contains HEAD | grep '*' | tr -s ' ' | cut -d ' ' -f2 currentbranch = !git branch --contains HEAD | grep '*' | tr -s ' ' | cut -d ' ' -f2


fo = fetch origin fo = fetch origin
Expand Down
Binary file modified moom/com.manytricks.Moom.plist
Binary file not shown.
11 changes: 6 additions & 5 deletions vim/vimrc
Expand Up @@ -245,9 +245,6 @@ vnoremap <c-z> <esc>zv`<ztgv
" Unfuck my screen " Unfuck my screen
nnoremap <leader>u :syntax sync fromstart<cr>:redraw!<cr> nnoremap <leader>u :syntax sync fromstart<cr>:redraw!<cr>
" Don't clobber the yank register when pasting over text in visual mode.
vnoremap p pgvy
" Tabs " Tabs
nnoremap <leader>( :tabprev<cr> nnoremap <leader>( :tabprev<cr>
nnoremap <leader>) :tabnext<cr> nnoremap <leader>) :tabnext<cr>
Expand Down Expand Up @@ -909,9 +906,7 @@ augroup END
augroup ft_python augroup ft_python
au! au!


" au FileType python setlocal omnifunc=pythoncomplete#Complete
au FileType python setlocal define=^\s*\\(def\\\\|class\\) au FileType python setlocal define=^\s*\\(def\\\\|class\\)
au FileType python compiler nose
au FileType man nnoremap <buffer> <cr> :q<cr> au FileType man nnoremap <buffer> <cr> :q<cr>
" Jesus tapdancing Christ, built-in Python syntax, you couldn't let me " Jesus tapdancing Christ, built-in Python syntax, you couldn't let me
Expand Down Expand Up @@ -1311,9 +1306,15 @@ let vimclojure#WantNailgun = 0
" YankRing {{{ " YankRing {{{


function! YRRunAfterMaps() function! YRRunAfterMaps()
" Make Y yank to end of line.
nnoremap Y :<C-U>YRYankCount 'y$'<CR> nnoremap Y :<C-U>YRYankCount 'y$'<CR>
" Fix L and H in operator-pending mode, so yH and such works.
omap <expr> L YRMapsExpression("", "$") omap <expr> L YRMapsExpression("", "$")
omap <expr> H YRMapsExpression("", "^") omap <expr> H YRMapsExpression("", "^")
" Don't clobber the yank register when pasting over text in visual mode.
vnoremap p :<c-u>YRPaste 'p', 'v'<cr>gv:YRYankRange 'v'<cr>
endfunction endfunction


" }}} " }}}
Expand Down

0 comments on commit c3fecd6

Please sign in to comment.