janus icon indicating copy to clipboard operation
janus copied to clipboard

Include vim-textobj-rubyblock

Open davetapley opened this issue 10 years ago • 6 comments

Forgive me if this has come up before, I couldn't find any reference to it in issue, nor the mailing list, and I didn't see any general can you include XXX guidelines.

Per nelstrom/vim-textobj-rubyblock#11, is there a reason vim-textobj-rubyblock isn't included by default?

davetapley avatar Dec 12 '13 19:12 davetapley

I see no reason why not, I'll work on that tonight/tomorrow

kalbasit avatar Dec 12 '13 21:12 kalbasit

bump

I just reinstalled Janus, and noticed this isn't there :frowning:

davetapley avatar Sep 15 '14 15:09 davetapley

Why you won't to install it by your self? Just see my additional installation of plugins with ruby blocks here https://github.com/khusnetdinov/.janus

khusnetdinov avatar Sep 11 '16 07:09 khusnetdinov

@khusnetdinov I did, I just feel it's sufficiently useful that it should be in by default.

davetapley avatar Sep 22 '16 20:09 davetapley

FYI for anyone who gets caught by this:

Ensure you add the following to your ~/.vimrc.after:

runtime macros/matchit.vim

set nocompatible
if has("autocmd")
  filetype indent plugin on
endif

Source.


Without this then e.g. var will select only the last line of a Ruby block.

davetapley avatar Mar 09 '17 17:03 davetapley

@dukedave if isn't in Janus please open PR to .janus. I will merge it.

khusnetdinov avatar Apr 29 '17 16:04 khusnetdinov