| bartman | hehe, next question. when I do system('....') and it has a trailing '\n', how do I do a chomp() equivalent in vimscript? |
| action | bartman uses substitute() |
| bartman | uses substitute() |
| suniuin | hello, how to select all text? |
| rphillips | suniuin: ggVG |
| suniuin | is there a simple way? i know 'ggVG' |
| rphillips | you could map it to a key |
| thorat | suniuin: on Windows there might be CTRL-A |
| suniuin | rphillips, o, thanks |
| calmar | ls |
| rockz | anyone that use cpp omni complete script knows how add to omni complete menu the entries of included files? |
| thorat | rockz: have those files not been ctagged? I ctag headers as well as sources |
| rockz | see script screenshot ... http://vissale.neang.free.fr/Vim/OmniCppComplete/ScreenShots/screenshots.htm the guy that take this screenshot use omni complete to see all methods of vector and when i include vector and try to do this, not happen. |
| thorat | ok, and is this a nonstandard script, do you say that? |
| rockz | yes, it is a nonstandard script |
| thorat | ok, sorry, I don't know, beyond making sure that all files have been ctagged |
| action | somian peeks back in |
| somian | peeks back in |
| rockz | thorat, include files for /usr/include directory? |
| thorat | well, just the files you're using I did ctags the STL a while back and then just did :se tags+=/path/to/stl/tags when I was using it. just as an example I do this for libraries I use |
| rockz | i do this before, but it didn't work :/ |
| thorat | maybe there was some issue with the gnu stl I had to resolve; it was a while back. You want to use omni-completion on the STL right? |
| rockz | yes |
| thorat | C++ is so funky on this level that there may be issues, I don't know those general purpose template libraries can be messy |
| rockz | is there not default omni complete to c++ ? good news... cpp omni complete work with string library :D |
| thorat | yes there is, I'm just not sure why it's not working for you. ok good |
| LunarCrisis | shl, sorry, don't know if you're still around, but I sometimes use different terminals. When I'm in urxvt, I need to use it's 88-color mode, and vim realizes this properly. However, when I'm using xfce-terminal, I want to use 256-color mode, and vim does not recognize this. Is there a way of making it work properly in xfce-terminal without ruining it in urxvt? Like, I can tell xfce-terminal to use a given TERM value, but I wouldn't know which one to pick to suggest to vim that it has 256 colors oh, I just discovered the xterm-256color value, this works =) |