Open gabebw opened 6 years ago
I've been really enjoying it, and the maintainer is a champ when it comes to answering issues.
I've also gotten some pretty in your face mappings for it: https://github.com/teoljungberg/dotfiles/blob/master/vim/plugin/settings/splitjoin.vim
@teoljungberg Is the goal of s:try
to prevent failures if Splitjoin isn't installed (eg on a new Vim install, before any vim plugins are installed)?
@gabebw That's exactly right.
It also has the benefit that if you can't perform SplitJoin on the current line, it performs the keystroke sequence send to the function call. That's what the tick
dance is all about.
J
on steroids: https://github.com/AndrewRadev/splitjoin.vimI literally said "WHAT!" out loud when I saw the GIF in the README.
Relevant: https://github.com/thoughtbot/dotfiles/issues/574