1 if exists("*defsplit#do") | finish | endif
2 command! -nargs=? Defsplit call defsplit#do(["("], v:false, <f-args>)
3 command! -nargs=? Brsplit call defsplit#do(["(", "[", "{"], v:false, <f-args>)
4 command! -nargs=? Defsplits call defsplit#do(["("], v:true, <f-args>)
5 command! -nargs=? Brsplits call defsplit#do(["(", "[", "{"], v:true, <f-args>)
6 command! Undefsplit normal ^v%$J:keepp s/^\(.*\)\([([{]\) \(.*[^,]\),\?\([)\]}]\)\(.*\)$/\1\2\3\4\5<CR>:keepp s/, \?\([)\]}]\+\)$/\1/e<CR>:<CR>