#vim - Mon 12 Mar 2007 between 00:00 and 03:02

NY Lost Funds



bytecolorhow could I map my mouse wheel to <C-E> & <C-Y> in a term?
not exactly an on-topic question, but...
TeltariatGreets folks
Stupid question: how would I tell vim to search and replace FROM "this line onwards"?
ShoyuRamen:.,$s/foo/bar/
TeltariatThank you
ShoyuRamennp
TeltariatDon't know why I don't know this.
<- duh moment
tagsoupi'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
\amethysttagsoup: you do :set ff=unix and then save to convert it to Unix EOL format
r3factoredpretty 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.
phrakturewth is vimmate?
r3factoredits a bolt-on to gvim for ruby - see http://vimmate.rubyforge.org
majdi never got something..doesn't gvim with the gui features ruin the point of vim to be a keyboard only editor?
elvin|codergood day. how does one set up code completion for C and C++ programs in vim? thanks in advace,
*advance.
\amethystmajd: Keyboard and GUI aren't mutually exclusive
majd: GUI does give you a lot more options for syntax highlighting than the terminal does :)
r3factoredmajd: 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
r3factoredvi keybindings rather
ShoyuRamenelvin|coder: code completion? i just use <C-n> <C-p> ...
majdonly 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_Spidey01I thought vim had a way to run a compiler
majdSAS_Spidey01, it does?
SAS_Spidey01I think so
r3factoredSAS_Spidey01: you can do anything in vi if you write a script or use the ! to drop to a shell ;)
SAS_Spidey01I know gvims tools menu has a 'Set Compiler' thing but I've never really looked at it
ShoyuRamenelvin|coder: what i mentioned was keyword completion, btw, not 'code' completion
SAS_Spidey01Normally I suspend vim or use another tab/tty to run a compiler if I'm not using a Makefile
\amethystSAS_Spidey01: you can :set makeprg=<command line> and then do :make
SAS_Spidey01I expected as much
\amethystSAS_Spidey01: That way you can jump from the errors to their locations
elvin|coderShoyuRamen, 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.
\amethystelvin|coder: try ctrl-n in insert mode

Page: 2 9 16 

IrcArchive

NY Lost Funds