Users browsing this thread:
Ippytraxx
Members
So I've been using a Vim plugin for Netbeans for programming and I've been thinking about trying eclim (Eclipse + Vim).

Please post what plugins, configs, mappings, etc that you recommend.

Cheers!
z3bra
Grey Hair Nixers
Avoid plugins. Not that they're evil, but because they hide basic functionnality of vims to new comers.

Using plugins while learning Vim (because yes, you have to LEARN Vim) is counter efficient, because it adds many shortcuts to the default one, wrap functionnalities, delete others (the basic remap of "," to leader pisses me off).

Seriously, use vim WITHOUT any plugin, with a basic config. When you will be used to the default config (I mean, no more mouse, hjkl and almost never in insert mode), continue practicing. If you run into something that vim do not do by default, try to write a function to do that for you (eg, complete current word while pressing <Tab>).

And if you need more than that, check out the available plugins. Do not forget that vim can interact with its environment, with the "!" command.

This and this are great resources for any vim user.

Also, to answer your fisrt question, here is my config:

* ~/.vimrc
* ~/.vim/

I actually use not plugin, cause I've never ran into a problem that plain old vim can't solve. Pretty happy without it :)
BANGARANG, MOTHERFUCKER
Ippytraxx
Members
I already know Vim, used it as a plugin in Netbeans. I've just never actually "used" Vim as in the actual editor. That's why I want to take it one step further and use plugins to extend what I already know.

Thanks for you vimrc.
venam
Administrators
I'm using supertab, nerdtree, and vim-bling.
I barely, use nerdtree, in fact, but I still have it installed.
Ippytraxx
Members
Aight thanks guys!

Seems like NERDTree is recommended all 'round so I'll have to check it out.
earsplit
Members
https://github.com/scrooloose/syntastic

That plugin is immensly useful and has saved me many compile-error-edit-compile-error-edit steps. It works across almost any filetype.
»» windelicato.com ««
vompatti
Long time nixers
Unixfabbers with vim, if you want awesome replacement for NERDTree, try CommandT: https://github.com/wincent/Command-T

Of course, if you wanna have tree view of you project, NERDTree is the way to go but CommandT allows you to open files quicker than ever.

And my setup:
- CommandT
- NERDTree (I dont use this so often)
- jedi-vim
- conque-term (I dont use this either so often)
- indentLine
- supertab
- TaskList
- vim-airline
- solarized
- golang

and phantogen for plugin management
What's programmers favorite thing to do? DELETE CODE!
Git: https://github.com/vhakulinen
oh no you didnt
Ippytraxx
Members
>and phantogen for plugin management

I heard vundle was slightly better, any thoughts?
vompatti
Long time nixers
Never used vundle =/ Maybe I try it next time I start playing around with plugins but it's been easy for me to just git clone git repos to install plugin.
Just cd ~/.vim/bundle/ && git clone [repo].
What's programmers favorite thing to do? DELETE CODE!
Git: https://github.com/vhakulinen
oh no you didnt
crshd
Registered
Vundle takes care of cloning the repos for you. It's a zero-hassle solution, I quite liked it.

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCA/IT d-(---)@ s+: a-- C+++(++++)$ UBL*+++ P+++>++++ L++ E W+++$ !N !o K !w !O M+>++ !V PS+++ PE !Y PGP+ !t-- !5 !X R@ tv- b+ DI D+ G e h r++ y+
------END GEEK CODE BLOCK------

kirby
Long time nixers
I use none at all, Vim does everything I want, which isn't much. That and I'm fairly new to Vim so I haven't really explored the options, but there's no glaring hole at the moment.
vompatti
Long time nixers
yeah? well I've been using vim almost 2 years and I suck at movement =/
What's programmers favorite thing to do? DELETE CODE!
Git: https://github.com/vhakulinen
oh no you didnt
Ippytraxx
Members
Well it looks like Eclim comes with an almost NERDTree clone built in. Also thanks for the heads up on vundle crshd, seems like the way to go.
berk
Long time nixers
I use Vim 7.4 --with-features=huge.

My vimrc as a paragraph:

Show commands on the right corner, no backup, show line numbers, show ruler, make search "make sense", indent like a real man and enable syntax.

One thing that really helps me is to set "jj" to go to the normal mode (inoremap jj <Esc>). I've disabled the arrow keys, as I use them for different purposes now.

I use the plugins Tabular and Fugitive, and I use Pathogen to manage them. I use a very simple colorscheme which allows me to differentiate from white to nonwhite. :P



Remember: Vim is a text editor, not an IDE.
shtols
Long time nixers
I just "debloated" my ~/.vimrc and threw out all the necessary plugins. I spent more time trying to tweak my configuration rather than actively using vim, that was a very big mistake. (If you want to see my ~/.vimrc, it's on Github.)
vompatti
Long time nixers
Yo, guys!

Check out vim's relativenumber if you haven't already, it's neat ;)

:set relativenumber
What's programmers favorite thing to do? DELETE CODE!
Git: https://github.com/vhakulinen
oh no you didnt
z3bra
Grey Hair Nixers
Just discovered this while cleaning up my vimrc:
Create a massive tag file upon every library you got
Code:
~$ ctags -R -f ~/.vim/systags /usr/include /usr/local/include

Use it with omni completion: <C-X><C-O> (The "SyntaxComplete" plugin is integrated to vim since 7.3 AFAIK)
Code:
set tags+=~/.vim/systags
au FileType c set omnifunc=ccomplete#Complete
BANGARANG, MOTHERFUCKER