vim/after/plugin/paredit.vim @ 735d4fc86bc8

Unfuck the lisp shell script wrapper hairball
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Apr 2016 22:14:09 +0000
parents 9062792cfda3
children (none)
augroup unmap_paredit_bullshit
    au!

    " Quit fucking with my split-line mapping, paredit.
    au Filetype lisp,clojure,gdl,scheme nnoremap <buffer> S i<cr><esc>^mwgk:silent! s/\v +$//<cr>:noh<cr>`w

    " Also quit fucking with my save file mapping.
    au FileType lisp,clojure,gdl,scheme nunmap <buffer> s

    " Oh my god will you fuck off already
    au FileType lisp,clojure,gdl,scheme nnoremap <buffer> dp :diffput<cr>
    au FileType lisp,clojure,gdl,scheme nnoremap <buffer> do :diffobtain<cr>
augroup END