Andrew Radev

Results 225 comments of Andrew Radev

I've rebased the `textobj-with-count` branch on top of master and force-pushed. You make a good point about the default mappings. I'm still thinking of putting some `` maps at least,...

As you've guessed, sideways generally expects the code to be valid in order for it to work. There's some permissiveness, like `def foo(one, two` will work regardless of the lack...

Sorry for taking a while to respond. 1) The plugin works on arguments, which is why it expects that the cursor is on one of them. In your case, I...

I've pushed a branch called `multiline`, in which I've tried to get sideways to work for multiline argument lists. So far, the existing tests are passing and some simple experiments...

Just giving you a heads-up that I've merged the "multiline" branch into master. I had some fixes to both ones and I figured maybe it's time to just get it...

Unfortunately, I can't think of any way to implement this properly in the plugin. The way it works is with simple patterns for the start/end pair of brackets, and for...

I had forgotten about it, but it seems like there already is support for shell scripts. The filetype has to be `sh` or `zsh` and it seems to work sensibly...

I've added support for the `bash` filetype, too, so it might work for you now. The backslash support is going to take some more fiddling.

I've created a branch that supports this *particular* case, only for java: [if-clause-support](https://github.com/AndrewRadev/sideways.vim/tree/if-clause-support). A general solution might be possible, but it would also be tricky. For ruby in particular, I...

Haskell is tricky. Let me start by explaining how the plugin works in general. The easiest example is something like this: ``` ruby function_call(x, y, z) ``` Suppose your cursor...