5
3

See title

asked 24 Jan '12, 11:36

Thorlund's gravatar image

Thorlund
221229
accept rate: 71%

edited 25 Jan '12, 14:28

Sebastian%20Paaske%20T%C3%B8rholm's gravatar image

Sebastian Pa... ♦♦
86531133


These are my essentials:

  • The_NERD_tree - A really handy tree-structured filebrowser. I have mapped mine to F3 like this:

    map <F3> :NERDTreeToggle <CR>
  • The_NERD_Commenter - A really really handy way to comment out lines and blocks of code. Use "leader + c + space" to toggle comments on and off. "Leader + c + s" does a "pretty commenting" in some languages (that is / / in java instead of // and so on)

  • snipmate - Who can live without snippets? Write the snippet keyword, or just the first letter and press Tab. A suggestion of which snippets to input will be shown, choose one, and vóila, you have a whole python class with just inputting cl and pressing Tab!

  • snipmate_snippets - "Just" a bunch of snippets for different kind of languages and frameworks.

  • Gundo - In fact vim has a sort of revision control built into it undo-history. So you can actually go back in different branches - it's just a bit cumbersome todo and control by hand. What Gundo does is create a fine ascii-art-visualization of your undo-history and shows diffs and stuff like that. Want to see Gundo in action check out this screencast from Vimcasts.org

  • delimitMate - simple autoclosing of quotes, parenthesis, brackets, etc.

More will come! And I've made this post a community wiki - so just go ahead and append whatever addon you cannot live without!

link
This answer is marked "community wiki".

answered 24 Jan '12, 12:25

valberg's gravatar image

valberg
634
accept rate: 50%

edited 08 Feb '12, 22:24

ptrf's gravatar image

ptrf
43017

It's been some time since this question was answered, and I would thus like to tell about my little sideproject to make a sort of vim-distribution.

It is called Stibnite, and is a way to organize configuration and plugins into multiple files, and thus making disabling and enabling of configuration a breeze. Check it out on github: https://github.com/valberg/stibnite - contributions are welcome! :D

(22 Nov '13, 11:24) valberg valberg's gravatar image

My favourite addon by far is FuzzyFinder. This addon gives you a fast way to find the files you are looking for. It gives you a little prompt in the top of the screen where you can type your query and underneath is a list of all the matching files and directories. Is has fuzzy matching so you can enter a couple of characters and get the file you want. You can see a screencast of it in action here: FuzzyFinder screencast.

link

answered 24 Jan '12, 15:26

mbudde's gravatar image

mbudde
311
accept rate: 0%

Did he just say "pussy finder" in that screencast? This is a MUST-HAVE addon! :)

In all seriousness, it really looks like a nice addon! I will go look at it right away :D

(24 Jan '12, 15:29) valberg valberg's gravatar image

You should also check out Vundle: https://github.com/gmarik/vundle It makes it really easy to install and update vim addons.

(24 Jan '12, 15:35) mbudde mbudde's gravatar image
1

I actually tried Vundle once, but it broke all the time, so stuck to vim-addon-manager. Will give Vundle another try sometime.

(24 Jan '12, 16:12) valberg valberg's gravatar image

To really start using plugins I highly recommend vim-addon-manager.

  • Install new addons from within vim, handles dependencies ie. :ActivateAddons FuzzyFinder
  • Installed addons are only activated on launch with some .vimrc boilerplate.

Just go to: https://github.com/MarcWeber/vim-addon-manager/

Either read install guide there, or just check out my .vimrc, you only need the SetupVAM function and then modify wahtever plugins you need. Anything below is not related to VAM. https://raw.github.com/frejsoya/dotfiles/master/.vimrc

Note that adding the boilerplate and restarting vim automatically installs VAM.

A few highly recommended workflow changing plugins. Just better and without the crappy editor.

  • FuzzyFinder. Find everything, files, buffers etc... with quick text matching.
  • clang_complete. Think eclipse/xcode for C/C++ code completion, error code checks. Really fast! (Do enable libclang support).
  • fugitive. Never leave vim for tedious git task. Diffs, commits, status, remove/add to index.
  • pyflakes. Use flakes to highlight the worst python errors.
  • vim-ipython. Run file/blocks of highlighted in an existing instance of ipython (possibly remote). Just like matlab.
  • snipmate. Quick snippets for all kinds of formats, helps you to not type anoying boilerplate.

Do read vimdocs of each plugin. some require manual keybinding setup.

link

answered 28 Jan '12, 00:56

frej's gravatar image

frej
106115
accept rate: 12%

edited 17 Feb '12, 11:35

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×122
×4

Asked: 24 Jan '12, 11:36

Seen: 3,939 times

Last updated: 22 Nov '13, 11:24

powered by OSQA