^o and ^i get used a lot in conjunction with 'gf', and are also pretty handy in general.
:e **/palette.cpp<CR>
2. You can try http://www.vim.org/scripts/script.php?script_id=3052 but I'm positive there are other implementations.Not sure if this helps but FuzzyFinder: http://www.vim.org/scripts/script.php?script_id=1984
This does that: https://github.com/airblade/vim-gitgutter
This is the feature that I miss the most in Vim, after working 5+ years in IDEs like Visual Studio. There are some Vim plugins addressing this (at least a year or so ago, when I searched), but nothing as elegant and seamless as in IDEs.
If I may ask, how do you use it? The C/C++ plugin was unusable, last time I tried it.
But I just made a manual set of syntax highlighting rules for C++, and that's good enough for me.
The git integration and other IntelliJ features make up for the missing C++ navigation and refactoring features for me.
I do everything related to compiling, debugging, and stuff (as well as all git committing and stuff, the IntelliJ git integration is about showing changed lines) from a terminal.
I'm editing some project with 10000 C++ files.
There is some C++ file I currently don't have open, say "palette.cpp" which is in a subdirectory "project/graphics/algorithms/color/".
Now I want to open palette.cpp without ever having to type, not even with tab autocompletion, that path.
IntelliJ (which I do use for C++ ;)) can do this easily: just press CTRL+R, then palette.cpp, ENTER, and there you are in that file.
Another thing: Some IDE's and editors have this feature where if you change lines, it marks it with some color on the left, as well as colors in the scrollbar, to immediately see which parts of the file were changed compared to git and/or the last time you opened it. Can Vim do this?
Thanks!