Archived

This topic is now archived and is closed to further replies.

Programming using the console (and VI !!!!!!!!!!!!)

This topic is 5130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi every-buddy !! Isn't there a way to get the word completion when coding w/o IDE? I don't beg for it out of mere laziness but cuz it's really useful when you don't have real help files (man cmd is barely enough) and it enables finding functions even when you can only assume what their names look like. I suppose I can write a kind of parser associated with something that reads in the header files to find what I need, can't I?? And how about makefiles? Could someone gimme the basics of using them or at least a nice URL, please ? Thank you in advance. Prog, Hex & Rock'n'Roll : I don't like the Prog but the Prog likes me. Some nice poetry to sweeten your spirit and relax a bit before programming [edited by - kurtcpp on November 28, 2003 10:14:46 AM]

Share this post


Link to post
Share on other sites
i guess you should grab the nano source code and write the completion algorithm yourself...

or maybe there is some way to enable completion in emacs... emacs is all blown up, so there might be one...

Share this post


Link to post
Share on other sites
What does M-... stand for in emacs? I''ve tried shift-m-... but that doesn''t seem to work.

--------
"Hey, what about those baggy pants you kids are wearin'' these days? Aren''t they hip and cool and poppin'' fresh?"-Peter Griffin
"Everytime I see an M followed by a dollar sign I just say "oh god" and go to the next post."-Neurokaotix
the D programming language

Share this post


Link to post
Share on other sites
Hi every-1. First, thank the the lots of you for your precious guidance; second, I beg your pardon for the possible typos in this reply but that's fuckin' hot to type when you got a hurted finger (note that a finger is a programmer's most dangerous W [either weapon/wand/whatever you need] lol) and last but not least:
- where do I get the nanocode 666 tells me about?? What does that consist of? Could I do the same with Kate or KWrite and add what I need to those editors (you can really mistake Kate for a true IDE when most of its options are enabled).
- what exactly is C-p in VI? I've tried Ctrl+P but that doesn't seems to work.
I think it'll be all. Thank you. :-)

Prog, Hex & Rock'n'Roll :
I don't like the Prog but the Prog likes me.
Some nice poetry to sweeten your spirit and relax a bit before programming

[edited by - kurtcpp on December 1, 2003 2:48:57 AM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you start typing out a word in vim, then hit ctrl-p (while still in insert mode) it will complete the word, but only using the contents of any files currently open in vim. Ctrl-n does the same thing, but searches in reverse order for matches.

Share this post


Link to post
Share on other sites
Buddies, that works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
That''s merely awesome!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Furthemore, it does exactly what I thought it had to do : it checks every file in the header files directory until it gets something looking like what I''ve begun to type.
Now, I just have to re-program the same on my own...
Does someone know how I can include my own code into an already-existing application?? (it''d surely be Kate, since it''s the one that has most features but still lacks word completion).
In any case : THAT''S AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thank you from the bottom of my heart, and long life to Gamedev dot net !!!!!!!!!!

Prog, Hex & Rock''n''Roll :
I don''t like the Prog but the Prog likes me.
Some nice poetry to sweeten your spirit and relax a bit before programming

Share this post


Link to post
Share on other sites