|bytecolor||how could I map my mouse wheel to <C-E> & <C-Y> in a term?|
not exactly an on-topic question, but...
Stupid question: how would I tell vim to search and replace FROM "this line onwards"?
|Teltariat||Don't know why I don't know this.|
<- duh moment
|tagsoup||i'm trying to use the "increment.vim" plugin on mac osx, and i dropped it in my plug in's directory and its complaining like crazy about "Not an editor command: ^M"|
is there someway to convert the end of lines to something osx gets along with?
also its wierd cause wehn i open the file and search for ^M (control+qM) it finds nothing
|\amethyst||tagsoup: you do :set ff=unix and then save to convert it to Unix EOL format|
|r3factored||pretty frustrated here. Im trying to get vimmate working. It keeps telling me 'gtk2 module is required' when i try to run. I have installed every gtk2 package known to man. anyone have any ideas? I can run gvim (7) with no issues.|
|phrakture||wth is vimmate?|
|r3factored||its a bolt-on to gvim for ruby - see http://vimmate.rubyforge.org|
|majd||i never got something..doesn't gvim with the gui features ruin the point of vim to be a keyboard only editor?|
|elvin|coder||good day. how does one set up code completion for C and C++ programs in vim? thanks in advace,|
|\amethyst||majd: Keyboard and GUI aren't mutually exclusive|
majd: GUI does give you a lot more options for syntax highlighting than the terminal does :)
|r3factored||majd: in a sense yes but even though i started on vim-text only after being forced to use ide's and going back to vim (even with the extra add-ons) its still faster. I was trying to see what this vimmate looked like but im abandoning it - not worth the trouble,|
also most ide's have questionable vim keybindings if at all.
|majd||\amethyst, i'm not saying gvim is bad, i use gvim, but i have all the gui options turned off|
|r3factored||vi keybindings rather|
|ShoyuRamen||elvin|coder: code completion? i just use <C-n> <C-p> ...|
|majd||only thing that sucks though, is that i can't use vim for compiled languages cause i need to compile them...|
elvin|coder, what do you mean by code completion? completing stuff you typed in or doing something like if<tab> and having it set up an if statement?
|SAS_Spidey01||I thought vim had a way to run a compiler|
|majd||SAS_Spidey01, it does?|
|SAS_Spidey01||I think so|
|r3factored||SAS_Spidey01: you can do anything in vi if you write a script or use the ! to drop to a shell ;)|
|SAS_Spidey01||I know gvims tools menu has a 'Set Compiler' thing but I've never really looked at it|
|ShoyuRamen||elvin|coder: what i mentioned was keyword completion, btw, not 'code' completion|
|SAS_Spidey01||Normally I suspend vim or use another tab/tty to run a compiler if I'm not using a Makefile|
|\amethyst||SAS_Spidey01: you can :set makeprg=<command line> and then do :make|
|SAS_Spidey01||I expected as much|
|\amethyst||SAS_Spidey01: That way you can jump from the errors to their locations|
|elvin|coder||ShoyuRamen, majd, by code completion I mean the ability to type in the beginning of a function name (defined in included headers, for example), and then press some hotkey and select the needed function from the list of available.|
|\amethyst||elvin|coder: try ctrl-n in insert mode|