SFML community forums

Bindings - other languages => C => Topic started by: gr3atmov3 on September 10, 2011, 04:43:57 pm

Title: Vim and SFML
Post by: gr3atmov3 on September 10, 2011, 04:43:57 pm
Hi everyone, i'm new to SFML world and i've been using VIM as and C++ editor. I find it really confortable and simple.
However, i'm using OmiCppComplete script for autocompleting and i cant use this feature with sf namespace.
To autocomplete with std I add to .vimrc file:
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"]

Does anyone know what would the second field in this line be for sf namespace?

Thanks in advance,
Title: Vim and SFML
Post by: kurayama on September 29, 2011, 09:07:12 pm
I recommend that you ditch OmniCppComplete and use clang_complete. Works well with C and C++.
You don't need to change things for every api you use, it behaves like an ide auto-completion, it's the same as xcode4 btw.
Title: Vim and SFML
Post by: gr3atmov3 on October 03, 2011, 06:09:12 pm
Thx kurayama, ill give it a try ;).