vim/after/plugin/paredit.vim @ ab4a7458c22c

Fix lispindent to indent flet/labels right so I don't lose my goddamn mind

This code is an incomprehensible hellscape so this probably breaks something
somewhere but if I have to spend another moment without correctly-indented flets
and labelses I'm gonna jump out a fucking window.
author Steve Losh <steve@stevelosh.com>
date Fri, 25 Mar 2016 21:34:05 +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