Forum

VIM editor

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

VIM editor

Postby revelator » Wed Jul 27, 2011 9:48 pm

cant seem to find the thread where someone wanted to use vim as a quakec editor so ill post here in case others might find it usefull.

http://www.2shared.com/file/Hh-7qs6J/Vim.html

freshly compiled version with python perl ruby and cscope support :)

cscope might be handy when editing quakec since it parses all calls of some function to another so its real easy to find instead of having to remember where everything is ;)

its normally intended for C/C++ but i found it could even parse basic functions to some degree so have a go at it :)

i included both the gui and the textmode version and an abundance of plugins. theres also an inf for installing it as default editor and a reg if you just want it in the context menu.
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: VIM editor

Postby siska.robert » Thu Jul 28, 2011 8:34 pm

ant seem to find the thread where someone wanted to use vim as a quakec editor so ill post here in case others might find it usefull.

viewtopic.php?t=3481

Hi. I use vim with ctags for a long time. But cscope is certainly more powerful tool. Thanks for tip!
Also, I use C/C++ syntax highlighting for qc files and it looks just fine...
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic

Re: VIM editor

Postby daemonicky » Thu Jul 28, 2011 8:56 pm

Vim is great. It's programmable editing approach reminds me of Blender (pressing "s10" You scale selected object 10 times).

OFFTOPIC:

siska.robert wrote:Hi. I use vim with ctags for a long time. But cscope is certainly more powerful tool. Thanks for tip!


Do You know Pavel Satrapa tutorials http://www.nti.tul.cz/~satrapa/docs/vim/ ? :)
Think, touch, movetype, solid, traceline ...
User avatar
daemonicky
 
Posts: 185
Joined: Wed Apr 13, 2011 1:34 pm

Postby revelator » Fri Jul 29, 2011 4:17 am

very powerfull editor indeed :)

and no didnt know about pavel's thanks for the link :)
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Fri Jul 29, 2011 4:49 am

oh its russian ? hmm well looks like i need google's translator.

good starter tut here also.

http://linuxconfig.org/Vim_Tutorial
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby Nahuel » Fri Jul 29, 2011 9:36 am

Location: Czech Republic


Location: Czech Republic


reckless wrote:oh its russian ?



I do not believe it! :)
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 492
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Postby siska.robert » Fri Jul 29, 2011 9:57 am

OT:
Nahuel wrote:I do not believe it! :)

Don't sweat it :) I bet half of the world thinks we speak russian in czech rep. I don't blame them, it's same language family after all... But we don't use that wacko russian alphabet :)

vim is primary intended to be just editor, but it's SO flexible and programmable, that you can make whole IDE out of it. Also, there is gvim - GUI version of it!
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic

Postby revelator » Fri Jul 29, 2011 11:15 am

indeed :) sorry about mixing that up.

and aye it can indeed be used as dev environment you can even run makefiles directly from it if you prgram with mingw.
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby daemonicky » Sun Jul 31, 2011 11:31 am

siska.robert wrote:OT:
Nahuel wrote:I do not believe it! :)

Don't sweat it :) I bet half of the world thinks we speak russian in czech rep.


I když naše řeč je ruštině pro cizince asi hodně podobná. :)
(Foreigners found our language similar to russian, I guess.)

siska.robert wrote:vim is primary intended to be just editor, but it's SO flexible and programmable, that you can make whole IDE out of it. Also, there is gvim - GUI version of it!


And it has easy mode.

True. Do You know about some other frontend other than gVim?

It would be cool to have vims IDE similar to that of NetBeans or Eclipse.

Author of Vim recommend how to edit more efficiently

OFFTOPIC: (I am testing Aptana Studio 3 for coding Javascript and it looks as nice IDE.)
Think, touch, movetype, solid, traceline ...
User avatar
daemonicky
 
Posts: 185
Joined: Wed Apr 13, 2011 1:34 pm

Postby revelator » Sun Jul 31, 2011 11:37 am

geany http://www.geany.org/

primarily an editor but actually usable as an ide :)

also has numerous plugins for all kinds of stuff like latex / ghostscript / java etc.

it uses gtk2 but if i remember correctly the installer installs the runtime
also.
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Sun Jul 31, 2011 11:43 am

or relo (one of the older) http://www.fifsoft.com/relo/

started out as an ide for borlands free 5.5 compiler. new version also handles mingw / cygwin / watcom.

then there is codelite http://www.codelite.org/ which started out as a plugin for source highlighting but soon became its own ide.

primarily uses mingw but can use pretty much any compiler. even NET.

codelite comes with cscope/ctags default.
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Sun Jul 31, 2011 11:49 am

emacs (mh should look away :P)

also a well renowned editor but its not the easiest to get around in.
User avatar
revelator
 
Posts: 2567
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests