-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only last line of block are selected #5
Comments
Do you have the matchit.vim plugin enabled? Try adding this line to your vimrc file:
|
I have already add "runtime macros/matchit.vim" line in my vimrc. |
To help diagnose the problem, could you tell me the version of Vim you are running as well as the version of matchit.vim? Run :version to find out which Vim you're on. I am running Vim 7.3, with matchit.vim 1.13.2. |
:version :edit $VIMRUNTIME/macros/matchit.vim […] EDIT : I have a copy of my vim config in https://github.com/OniTux/dotvim maybe a conflict between two plug-ins. |
Thanks for the info. You have the same versions as me, so that wasn't it. I'll have a look at your dotfiles, and see if anything stands out. |
I try with only pathogen, textobj-user, textobj-rubyblock and matchit.vim and I have the same problem. EDIT : Same problem with old-school plug-ins installation. |
Curiouser and curiouser. I just had a closer look at your vimrc on github, and it doesn't appear to include the line |
No change with |
I'm having the same problem too. I'm running vim 7.2 with matchit 1.13.2 on ubuntu 10.10. Thanks for writing this, can hardly wait to start using rubyblock once this is figured out! |
Have reproduced it on my macbook with macvim 7.3 and seeing same behavior there too... starting to think it must be something about my .vimrc or .vim contents. [smcleod@arya ~] ➔ cat .vimrc [smcleod@arya ~/.vim] ├── ./autoload 13 directories, 17 files |
I've found the solution. I used Drew's dotfiles and through bisection discovered that I need to have this line in my vimrc: filetype plugin indent on |
Halcyon, That's awesome that you figured out the solution. I'll update the installation instructions to mention this. Enjoy using your new text object! Cheers, |
Thanks Drew, I'm enjoying it very much. Keep up the great work! |
When I try plug in with a ruby file, it goes, select only last line of block and keep select mode when I do 'var'. With 'vir', I have three lines selected, the line with good end, the line before and the line after.
The text was updated successfully, but these errors were encountered: