(note: I don't have much experience with Vim and Windows, but I'll do my best. Now cd back to your home folder, it's time to edit your vim configuration file! vimrc file which we will start to edit shortlyĪnother way is to manually download each repo, extract it to ~/.vim/bundle/plugin-name/, but that's just tedious and time consuming, plus the fact that it's super easy to keep your plugins updated. That's it, the rest is taken care of by your. $>git clone git:///gmarik/vundle.git ~/.vim/bundle/vundle This is imho a better way to install plugins and it's easier to manage, plus that you don't have to execute scripts outside vim. Now just press '1', lean back and enjoy the show.Īgain, I assume you have git, ctags and gvim installed, if not install them using sudo apt-get install exuberant-ctags git vim (or consult your man pages for your package manager). Save it (:w), exit vim (:q) and cd to ~/vimogen $ >git clone git:///vim-scripts/vimogen.git ~/vimogen $>git clone git:///tpope/vim-pathogen.git ~/.vim/autoload $> sudo apt-get install exuberant-ctags git vimįirst of all, open up a terminal and navigate to your home folder (cd ~) and then issue the following commands: I assume that you already have git, ctags and gvim installed, if you're running a ubuntu linux distro (kubuntu/xubuntu/mint etc) it's easy to install them: Please see posts below for setting up your. One way to manage your plugins and keep the plugin folder nice and tidy Rebuilds tags on file save, or if you're inactive for a few minutes If you get it? Nice to have for easy file management Keeps like a tab list of buffers in each tab. Makes it easy to use Github without ever leaving Vim This is here because I just did a cut'n'paste from my vimscript repo list, but if you ever do Python scripting these are THE addons to have - atleast IMHO Highlights the compile errors in the editor Inserts paired quotationmarks, square-brackets, apostrophes and so on. Really not needed, most of them are crap except from Mustang, Colorful256 and a few others Insert and edit snippets, really really useful and speeds up your coding Makes your Tab enter Supermode! Use it for code completion, completing snippets and much moreĭo yuo havw the same problm as I have to tyoe fast AND spell corectly? Fat fingers help you with that Now, there isn't that great difference between C and FB, so I took some time to set up Vim to achieve the functionality I'm useed to when coding C or Python, and this is what I have so far.Ī filemanager Vim addon, I use it as a project manager I haven't used FreeBasic for more then three weeks now, and my first impression of it was a bit shaded by the fact that there aren't any good editors to use if you're running Linux and Vim is quite biased towards C/C++. Never had any use for any other text editor or IDE for my projects, but to be fair, if you just downloaded Vim and started it up you will get dissapointed as most of Vim s power is the plugin system. It also needs Exuberant Ctags, GNU make and some lines might need a minor edit as I have a habit of saving intermidiate compile files in /tmp. A little guide for those of you that want to try a real text editor ) Most of this should work on any OS if Vim is compiled with +python settings (vim -version | grep python).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |