Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
+ | For those who has upgraded ubuntu to version 13.04 and got problems with his favorite text editor. |
||
− | {{TipProposed |
||
+ | |||
− | |id=0 |
||
+ | The problem: cannot make to work vim with command-t plugin |
||
− | |previous=0 |
||
− | |next=0 |
||
− | |created=August 3, 2013 |
||
− | |complexity=basic |
||
− | |author=Eugenekorpan |
||
− | |version=7.0 |
||
− | |subpage=/2013 |
||
− | |category1= |
||
− | |category2= |
||
− | }} |
||
− | After upgrading Ubuntu to version 13.04, Vim may not work with the command-t plugin. |
||
First I tried an old way |
First I tried an old way |
||
− | <pre> |
||
⚫ | |||
− | </pre> |
||
⚫ | |||
⚫ | |||
+ | |||
⚫ | |||
when try to use command-t get error |
when try to use command-t get error |
||
− | <pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | </pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | tried to apply a patch - no luck |
||
⚫ | |||
+ | tried to build latest vim version from source according to |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | <pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | </pre> |
||
⚫ | |||
⚫ | |||
+ | SOLUTION: |
||
⚫ | |||
+ | build vim 7.4 from source using git mirror |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | <pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | </pre> |
||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
+ | |||
⚫ | |||
(in a case with vundle it is in ~/.vim/bundle/Command-T/ruby/command-t) |
(in a case with vundle it is in ~/.vim/bundle/Command-T/ruby/command-t) |
||
− | <pre> |
||
⚫ | |||
⚫ | |||
− | </pre> |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | IMPORTANT: run those with ruby 1.8.7. |
||
⚫ | |||
⚫ | |||
+ | Could be problems with RVM |
||
− | Solution: |
||
+ | |||
− | <pre> |
||
⚫ | |||
⚫ | |||
+ | I tried to change default version bu 1.8.7 but no luck |
||
− | </pre> |
||
⚫ | |||
⚫ | |||
Conclusion: |
Conclusion: |
||
− | + | - Ubuntu 13.04, |
|
− | + | - build vim from sources, |
|
− | + | - use vim 7.4b version |
|
− | + | - use git repository to fetch sources, |
|
− | + | - compile with ruby support |
|
− | + | - compile with gnome gui support |
|
− | + | - use ruby 1.8.7 |
|
+ | |||
+ | Hope it will be helpful for somebody |
||
==Comments== |
==Comments== |
||
"checked many posts and all of them say to use mercurial (don't know why)" |
"checked many posts and all of them say to use mercurial (don't know why)" |
||
:Probably because the official Vim repository is in Mercurial at http://vim.googlecode.com. The Github repository you cloned is only a mirror of the official Mercurial repository. But if you're more familiar with Git, then it should work just as well. It is just not updated as frequently. --[[User:Fritzophrenic|Fritzophrenic]] ([[User talk:Fritzophrenic|talk]]) 14:58, August 5, 2013 (UTC) |
:Probably because the official Vim repository is in Mercurial at http://vim.googlecode.com. The Github repository you cloned is only a mirror of the official Mercurial repository. But if you're more familiar with Git, then it should work just as well. It is just not updated as frequently. --[[User:Fritzophrenic|Fritzophrenic]] ([[User talk:Fritzophrenic|talk]]) 14:58, August 5, 2013 (UTC) |
||
+ | |||
I went through Mercurial http://vim.googlecode.com, apt-get install vim-nox and vim-rails all of which where having a-lot of problems on ubuntu 13.04. Nerd tree would load the first file as a shared tab with 1 line showing. Also not all of my plugins would load. The repo here worked great thank you. |
I went through Mercurial http://vim.googlecode.com, apt-get install vim-nox and vim-rails all of which where having a-lot of problems on ubuntu 13.04. Nerd tree would load the first file as a shared tab with 1 line showing. Also not all of my plugins would load. The repo here worked great thank you. |
||
:Guys, the Mercurial repository contains EXACTLY THE SAME STUFF as the Github mirror. If one allowed you to compile and install but not the other, you did the other one WRONG somehow. --[[User:Fritzophrenic|Fritzophrenic]] ([[User talk:Fritzophrenic|talk]]) 13:58, August 28, 2013 (UTC) |
:Guys, the Mercurial repository contains EXACTLY THE SAME STUFF as the Github mirror. If one allowed you to compile and install but not the other, you did the other one WRONG somehow. --[[User:Fritzophrenic|Fritzophrenic]] ([[User talk:Fritzophrenic|talk]]) 13:58, August 28, 2013 (UTC) |
||
+ | [[Category:VimTip]] |