Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moar

  • Loading branch information...
commit c3fecd6f87df61b2c8cfd5c47e716548d7fba10c 1 parent 908d029
@sjl authored
View
4 gitconfig
@@ -43,6 +43,10 @@
unstage = 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
fo = fetch origin
View
BIN  moom/com.manytricks.Moom.plist
Binary file not shown
View
11 vim/vimrc
@@ -245,9 +245,6 @@ vnoremap <c-z> <esc>zv`<ztgv
" Unfuck my screen
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
nnoremap <leader>( :tabprev<cr>
nnoremap <leader>) :tabnext<cr>
@@ -909,9 +906,7 @@ augroup END
augroup ft_python
au!
- " au FileType python setlocal omnifunc=pythoncomplete#Complete
au FileType python setlocal define=^\s*\\(def\\\\|class\\)
- au FileType python compiler nose
au FileType man nnoremap <buffer> <cr> :q<cr>
" Jesus tapdancing Christ, built-in Python syntax, you couldn't let me
@@ -1311,9 +1306,15 @@ let vimclojure#WantNailgun = 0
" YankRing {{{
function! YRRunAfterMaps()
+ " Make Y yank to end of line.
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> 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
" }}}
Please sign in to comment.
Something went wrong with that request. Please try again.