| deadchip | how can i disable automatic creation of commented lines (for C++) ? everytime i write a line starting with //, vim prepends that to each subsequent line that would not be so bad yet if it wasn't doing this on pasted text as well (well not vim intenral paste but rather just text buffers using X paste) |
| \amethyst | deadchip: It's better to paste with "*p |
| deadchip | \amethyst: is that a key combo or command? |
| \amethyst | deadchip: It's the p command |
| deadchip | \amethyst: yeah i know p but how would i paste something from PRIMARY X clipboard with it?? only way is to use button 3 to paste |
| \amethyst | That's what "* does |
| deadchip | \amethyst: ok but then i don't know how to use it |
| \amethyst | as long as DISPLAY is set |
| deadchip | i tried "*p at the : prompt |
| \amethyst | aha |
| deadchip | and as a key combo but no dice |
| \amethyst | deadchip: Ah well, works here in an xterm, but there are situations where it won't |
| deadchip | hrm ok |
| \amethyst | deadchip: formatoptions option is what you want |
| deadchip | ok |
| \amethyst | deadchip: You probably want to do :help on that |
| deadchip | ok yeah it's what i'm doing |
| \amethyst | deadchip: removing letter r is probably what you're after deadchip: :noautoindent can be helpful, too, when pasting code |
| deadchip | ah |
| xaka | how hightlight class name and member of C++ in some color? for example i have line "void MyClass::myMember()" - i want set red color for MyClass and blue color for myMember |
| tecnico | win6 |
| changinfaces | hello I uninstalled vim-tiny b/c arrow keys, backspace and most of all syntax highlighting is not available. Then I installed the latest vim-full, arrow keys and backspace works now but syntax hightlighting is still now enabled. : < I have always had the pleasure of highlighting at school can someone please help me not* |
| DRM3Z | Coul any one explain how I get code completion to work properly with the vim btw i meant to say how does codecompletion works in vim heheh before you all go asking me what properly means *How do i use code completion with vim ? Any one please I tried google but it is giving me a error omnifunc not set |
| Flat_ | DRM3Z: http://vim.sourceforge.net/tips/tip.php?tip_id=498 |