ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Way to clean autocomplete in Vim and .vimrc problem

asked 2011-03-31 07:15:48 -0500

alfa_80 gravatar image

updated 2011-03-31 07:32:10 -0500

I've created a thread to solve my problem regarding code completion problem in vim. I planned to clean all vim, omnicompletion, and all the dependencies. I was following a guide for autocompletion purpose. How do I clean all of them? I need to do this because I want to reinstall the stuff hoping the autocompletion problem will solve.

In the process of reinstalling the autocompletion stuff which I use the previous link, I got confused wheather I should put the configuration in ~/.vimrc file (created by myself) or the one which is already available located in /usr/share/vim (named as vimrc).

Hope somebody can guide me on this matter.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-03-31 08:48:23 -0500

mjcarroll gravatar image

Always edit your ~/.vimrc file. If you mess with /usr/share/vim, you will affect other users on the system.

edit flag offensive delete link more

Comments

Upon reinstalling, I need to create our own .vim directory and .vimrc file, right? By default, for new installation, I don't see them. I just want to confirm my understanding..
alfa_80 gravatar image alfa_80  ( 2011-03-31 19:30:15 -0500 )edit
Following this link "http://www.vim.org/scripts/script.php?script_id=1520", your omnicppcomplete is 0.41, or 0.4 version?
alfa_80 gravatar image alfa_80  ( 2011-03-31 19:36:11 -0500 )edit
My version is 0.41. All of my configurations are posted on my github account. You can actually just check it out, if you are interested. http://github.com/mjcarroll/dotfiles
mjcarroll gravatar image mjcarroll  ( 2011-04-01 09:19:36 -0500 )edit
You have to create the ~/.vimrc file and the ~/.vim directories
mjcarroll gravatar image mjcarroll  ( 2011-04-01 09:22:29 -0500 )edit

Question Tools

Stats

Asked: 2011-03-31 07:15:48 -0500

Seen: 680 times

Last updated: Mar 31 '11