Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Vim and SFML  (Read 5783 times)

0 Members and 1 Guest are viewing this topic.

gr3atmov3

  • Newbie
  • *
  • Posts: 3
    • View Profile
Vim and SFML
« 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,

kurayama

  • Newbie
  • *
  • Posts: 6
    • View Profile
Vim and SFML
« Reply #1 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.

gr3atmov3

  • Newbie
  • *
  • Posts: 3
    • View Profile
Vim and SFML
« Reply #2 on: October 03, 2011, 06:09:12 pm »
Thx kurayama, ill give it a try ;).